Browse Source

修改预案信息在签收后方可修改

王通 2 năm trước cách đây
mục cha
commit
2cf5fc9094
1 tập tin đã thay đổi với 6 bổ sung9 xóa
  1. 6 9
      vue.config.js

+ 6 - 9
vue.config.js

@@ -9,7 +9,7 @@ const CompressionPlugin = require('compression-webpack-plugin')
 
 const name = process.env.VUE_APP_TITLE || '四平市态势感知平台' // 网页标题
 
-const port = process.env.port || process.env.npm_config_port || 81 // 端口
+const port = process.env.port || process.env.npm_config_port || 80 // 端口
 
 const ssl_path = require('path')
 const fs = require('fs')
@@ -34,11 +34,11 @@ module.exports = {
     host: '0.0.0.0',
     port: port,
     open: true,
+
     // https:{
     //   cert : fs.readFileSync(ssl_path.join(__dirname,'src/ssl/supermap.pem')),
     //   key : fs.readFileSync(ssl_path.join(__dirname,'src/ssl/supermap.key'))
     // },
-
     /**
      * 昨夜星辰昨夜风
      * 画廊西畔桂堂东
@@ -48,15 +48,12 @@ module.exports = {
      * 寻找附件-有缘人@阿弥陀佛
      * @param attach_ids
      */
-
     proxy: {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
-        //target: `http://127.0.0.1:3031`,
-        // target: `https://2961rt3561.oicp.vip`,
-        // target: `https://29613561xe.eicp.vip`,
-         target: `http://121.36.228.66:3031`,
-        // target: `http://192.168.2.118:3031`,
+         // target: `http://121.36.228.66:3031`,
+         target: `https://29613561xe.eicp.vip`,
+        // target: `http://127.0.0.1:3031`,
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''
@@ -68,7 +65,7 @@ module.exports = {
   css: {
     loaderOptions: {
       sass: {
-        sassOptions: {outputStyle: 'expanded'}
+        sassOptions: { outputStyle: 'expanded' }
       }
     }
   },