diff --git a/.env.test b/.env.test
new file mode 100644
index 0000000..fcd7902
--- /dev/null
+++ b/.env.test
@@ -0,0 +1,3 @@
+# 本地139测试环境的变量
+NODE_ENV=production
+VUE_APP_CURRENT_INFO=local_prod
diff --git a/package.json b/package.json
index 440fde4..ed54814 100644
--- a/package.json
+++ b/package.json
@@ -5,6 +5,7 @@
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
+ "test": "vue-cli-service build --mode test",
"lint": "vue-cli-service lint"
},
"dependencies": {
diff --git a/public/development_address_config.js b/public/development_address_config.js
index f808a9e..b31ce8e 100644
--- a/public/development_address_config.js
+++ b/public/development_address_config.js
@@ -3,17 +3,17 @@
*/
window._CONFIG = {};
window._CONFIG["domianURL"] = "/jero-boot"; // 路由转发 devServer
-window._CONFIG["domianWebSocketURL"] = "http://localhost:8080/jero-boot";
+window._CONFIG["domianWebSocketURL"] = "http://10.0.1.9:21824/jero-boot";
// 单点登录地址
window._CONFIG["staticDomainURL"] = window._CONFIG["domianURL"] + "/sys/common/download";
window._CONFIG["pdfDomainURL"] = window._CONFIG["domianURL"] + "/sys/common/pdf/pdfPreviewIframe";
window._CONFIG["casPrefixUrl"] = "http://cas.example.org:8443/cas";
// 预览文件地址
-window._CONFIG["onlinePreviewDomainURL"] = "http://localhost:8012/onlinePreview";
+window._CONFIG["onlinePreviewDomainURL"] = "http://10.0.1.9:9012/onlinePreview";
// 会议管理报名二维码地址 小程序生成二维码用的
-window._CONFIG["singUpQRCodeURL"] = "http://localhost:3000/signupentrance"
+window._CONFIG["singUpQRCodeURL"] = "http://10.0.1.9:21824/signupentrance"
// 会议管理签到二维码地址 微信扫描二维码 跳转的 地址 要么全大写 要么全小写
window._CONFIG["singInQRCodeURL"] = "http://10.10.10.46:8055/signinurl"
// 页面显示用的会议报名二维码连接
@@ -24,4 +24,4 @@ window._CONFIG["sendCompanyName"] = "中汽标准所"
// 票据打印--寄件人地址
window._CONFIG["sendAddress"] = "天津市东丽区先锋东路68号"
// 票据打印--寄件人邮编
-window._CONFIG["sendPostCode"] = "300000"
\ No newline at end of file
+window._CONFIG["sendPostCode"] = "300000"
diff --git a/public/index.html b/public/index.html
index 6972211..d4124e3 100644
--- a/public/index.html
+++ b/public/index.html
@@ -12,9 +12,13 @@
<% if (process.env.NODE_ENV === 'development' ) { %>
<% } %>
- <% if (process.env.NODE_ENV === 'production' ) { %>
+ <% if (process.env.NODE_ENV === 'production' && process.env.VUE_APP_CURRENT_INFO !== 'local_prod') { %>
<% } %>
+
+ <% if (process.env.VUE_APP_CURRENT_INFO === 'local_prod' ) { %>
+
+ <% } %>