第一次上传
This commit is contained in:
@ -2,4 +2,4 @@
|
|||||||
ENV = 'production'
|
ENV = 'production'
|
||||||
|
|
||||||
# 管理系统/生产环境
|
# 管理系统/生产环境
|
||||||
VUE_APP_BASE_API = '/prod-api'
|
VUE_APP_BASE_API = 'http://121.5.136.69:1919'
|
||||||
|
@ -4,4 +4,4 @@ NODE_ENV = production
|
|||||||
ENV = 'staging'
|
ENV = 'staging'
|
||||||
|
|
||||||
# 管理系统/测试环境
|
# 管理系统/测试环境
|
||||||
VUE_APP_BASE_API = '/stage-api'
|
VUE_APP_BASE_API = 'http://121.5.136.69:1919'
|
||||||
|
@ -52,7 +52,7 @@ export default {
|
|||||||
dialogImageUrl: null,
|
dialogImageUrl: null,
|
||||||
useOss: false, //使用oss->true;使用MinIO->false
|
useOss: false, //使用oss->true;使用MinIO->false
|
||||||
ossUploadUrl: 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com',
|
ossUploadUrl: 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com',
|
||||||
minioUploadUrl: 'http://192.168.0.125:1919/minio/upload'
|
minioUploadUrl: process.env.VUE_APP_BASE_API + '/minio/upload'
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
@ -65,7 +65,7 @@
|
|||||||
dialogVisible: false,
|
dialogVisible: false,
|
||||||
useOss:false, //使用oss->true;使用MinIO->false
|
useOss:false, //使用oss->true;使用MinIO->false
|
||||||
ossUploadUrl:'http://macro-oss.oss-cn-shenzhen.aliyuncs.com',
|
ossUploadUrl:'http://macro-oss.oss-cn-shenzhen.aliyuncs.com',
|
||||||
minioUploadUrl:'http://192.168.99.239:1818/minio/upload',
|
minioUploadUrl:process.env.VUE_APP_BASE_API + '/minio/upload',
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -134,7 +134,7 @@ export default {
|
|||||||
userList: [],
|
userList: [],
|
||||||
activeId: '', // 当前用户ID
|
activeId: '', // 当前用户ID
|
||||||
customerText: '',
|
customerText: '',
|
||||||
path: 'ws://192.168.0.125:1919/webStock/' + this.$store.state.user.userId,
|
path: 'ws://121.5.136.69:1919/webStock/' + this.$store.state.user.userId,
|
||||||
socket: '',
|
socket: '',
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
@ -34,7 +34,8 @@ module.exports = {
|
|||||||
proxy: {
|
proxy: {
|
||||||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||||
[process.env.VUE_APP_BASE_API]: {
|
[process.env.VUE_APP_BASE_API]: {
|
||||||
target: `http://192.168.0.125:1919`,
|
// target: `http://192.168.0.125:1919`,
|
||||||
|
target: `http://121.5.136.69:1919`,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
['^' + process.env.VUE_APP_BASE_API]: ''
|
['^' + process.env.VUE_APP_BASE_API]: ''
|
||||||
|
Reference in New Issue
Block a user