瀏覽代碼

修改配置文件

zhengqiang 4 年之前
父節點
當前提交
13080af55c
共有 4 個文件被更改,包括 18 次插入3 次删除
  1. 2 0
      .env.development
  2. 13 2
      .env.production
  3. 2 0
      .env.test
  4. 1 1
      vue.config.js

+ 2 - 0
.env.development

@@ -1,3 +1,5 @@
+OUT_PUT_DIR=dist/jp-housekeeper-portal
+
 #VUE_APP_BACKEND_URL=http://wisdomhouse.sudaonline.net
 VUE_APP_BACKEND_URL=http://127.0.0.1:8086/jp-housekeeper-server
 #手机企业版

+ 13 - 2
.env.production

@@ -1,13 +1,24 @@
-VUE_APP_BACKEND_URL=http://wisdomhouse.sudaonline.net
-VUE_APP_IMAGE_URL=http://wisdomhouseadmin.sudaonline.net
+OUT_PUT_DIR=dist/jp-housekeeper-portal
+
+#VUE_APP_BACKEND_URL=http://wisdomhouse.sudaonline.net
+
+VUE_APP_BACKEND_URL=https://xpgj.xiaoxinda.com/jp-housekeeper-server/
+
+#VUE_APP_IMAGE_URL=http://wisdomhouseadmin.sudaonline.net
+
 #VUE_APP_BACKEND_URL=http://zldb.xiaoxinda.com:8088/smart-community-server
+
 #手机企业版
 VUE_APP_COMPANY_HEALTH_WECHAT_QY_URL=http://wisdomhousewechat.sudaonline.net/prevention/motemwall.html 
+
 #手机校园版
 VUE_APP_COMPANY_HEALTH_WECHAT_XY_URL=http://wisdomhousewechat.sudaonline.net/prevention-xxd/motemwall_xxd.html
+
 #大屏企业版
 VUE_APP_COMPANY_HEALTH_QY_URL=http://wisdomhousewechat.sudaonline.net/prevention/motemwall_pc.html
+
 #大屏校园版
 VUE_APP_COMPANY_HEALTH_XY_URL=http://wisdomhousewechat.sudaonline.net/prevention-xxd/motemwall_xxd_pc.html
+
 #打卡点二维码地址
 VUE_APP_PUNCHLOCATION_URL=http://yktwechat.xiaoxinda.com/#/health/codeScene

+ 2 - 0
.env.test

@@ -1,3 +1,5 @@
+OUT_PUT_DIR=dist/jp-housekeeper-portal
+
 #VUE_APP_BACKEND_URL=http://wisdomhouse.sudaonline.net
 VUE_APP_BACKEND_URL=https://ykt-test.xiaoxinda.com/jp-housekeeper-server/
 

+ 1 - 1
vue.config.js

@@ -7,7 +7,7 @@ module.exports = {
     // 选项...
     publicPath:"./",
     // 输出文件目录
-    outputDir: 'dist',
+	outputDir: process.env.OUT_PUT_DIR,
     // eslint-loader 是否在保存的时候检查
     lintOnSave: true,
     devServer:{