diff --git a/.env.development b/.env.development index d7f1adb..4f85104 100644 --- a/.env.development +++ b/.env.development @@ -7,6 +7,8 @@ ENV = 'development' # 若依管理系统/开发环境 # VUE_APP_BASE_API = 'http://192.168.0.103:9115' VUE_APP_BASE_API = 'http://39.101.188.84:9115' +# VUE_APP_BASE_API = 'http://192.168.0.112:9115' + # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/.env.production b/.env.production index ffd1313..f542820 100644 --- a/.env.production +++ b/.env.production @@ -5,5 +5,5 @@ VUE_APP_TITLE = 太仓市网络和数据资产采集管理系统 ENV = 'production' # 若依管理系统/生产环境 -VUE_APP_BASE_API = 'http://39.101.188.84:9115' -# VUE_APP_BASE_API = 'http://20.1.0.164/api' +# VUE_APP_BASE_API = 'http://39.101.188.84:9115' +VUE_APP_BASE_API = 'http://20.1.0.164/api' diff --git a/src/App.vue b/src/App.vue index b92ea37..09fb910 100644 --- a/src/App.vue +++ b/src/App.vue @@ -20,6 +20,16 @@ export default { } } }; +/* + !!process.env.VUE_APP_BASE_API 开头的为公司环境 + + assetsManagement 除了 assetsAuth.vue, 其他文件切换 上传文件 公司环境正式环境 + myUpload 切换正式环境,公司环境 + vue.config.js 切换公司环境,正式环境 + .env.production 切换公司环境,正式环境 + request.js 切换公司环境,正式环境 + +*/