md
This commit is contained in:
parent
a01cc89d91
commit
b7fcd4bba9
15
.env.staging
15
.env.staging
@ -1,19 +1,16 @@
|
|||||||
# 页面标题
|
# 页面标题
|
||||||
VUE_APP_TITLE = 管理系统
|
VUE_APP_TITLE = 管理系统
|
||||||
|
# NODE_ENV='production'
|
||||||
|
|
||||||
NODE_ENV = production
|
# 生产环境配置
|
||||||
|
|
||||||
# 测试环境配置
|
|
||||||
ENV = 'staging'
|
ENV = 'staging'
|
||||||
|
|
||||||
VUE_APP_VERSION = '20240516'
|
VUE_APP_VERSION = '20240520'
|
||||||
|
|
||||||
# 测试环境
|
# 管理系统/生产环境
|
||||||
VUE_APP_BASE_API = '/stage-api'
|
|
||||||
VUE_APP_PDOMAIN = 'tanex56'
|
VUE_APP_PDOMAIN = 'tanex56'
|
||||||
VUE_APP_DATA_FROM = 'pc'
|
VUE_APP_DATA_FROM = 'pc'
|
||||||
VUE_APP_BASE_API = 'http://tst-api.emis.tanex56.com/api/bizsvr'
|
VUE_APP_BASE_API = 'https://tst-api.emis.tanex56.com/api/bizsvr'
|
||||||
|
VUE_APP_WS_HOST = 'wss://tst-api.emis.tanex56.com/api/bizsvr'
|
||||||
VUE_APP_WS_HOST = 'ws://test-api.emis.tanex56.com/api/bizsvr'
|
|
||||||
|
|
||||||
VUE_APP_PRINTER_HOST = '127.0.0.1:17080'
|
VUE_APP_PRINTER_HOST = '127.0.0.1:17080'
|
||||||
|
|||||||
@ -75,7 +75,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
configureWebpack: config => {
|
configureWebpack: config => {
|
||||||
// 开发环境不配置
|
// 开发环境不配置
|
||||||
if (process.env.NODE_ENV !== 'production') return
|
if (process.env.NODE_ENV !== 'production' ) return
|
||||||
|
|
||||||
// 生产环境才去配置
|
// 生产环境才去配置
|
||||||
return {
|
return {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user