This commit is contained in:
tanghc
2020-11-09 17:15:29 +08:00
parent 84856e6865
commit 309707f4a3
9 changed files with 6 additions and 6 deletions

View File

@@ -2,5 +2,5 @@
ENV = 'production'
# base api
VUE_APP_BASE_API = 'http://localhost:8083'
VUE_APP_BASE_API = ''

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -8,7 +8,7 @@ import needle from 'needle'
import md5 from 'js-md5'
import axios from 'axios'
const baseURL = process.env.VUE_APP_BASE_API
const baseURL = process.env.VUE_APP_BASE_API || `${location.protocol}//${location.host}`
const OPC_USER_TYPE_KEY = 'sop-user-type'
// 创建axios实例