YaolongHan 4 years ago
parent
commit
79bf1c1bf3
2 changed files with 7 additions and 3 deletions
  1. 3 0
      src/main.ts
  2. 4 3
      vue.config.js

+ 3 - 0
src/main.ts

@@ -43,6 +43,9 @@ const username = 'lengqiang'
 //     }
 //     }
 //     next()
 //     next()
 // })
 // })
+// setTimeout(()=>{
+//     store.commit('SETSSOTOKEN','123')
+// },5000)
 new Vue({
 new Vue({
     router,
     router,
     store,
     store,

+ 4 - 3
vue.config.js

@@ -3,8 +3,8 @@ module.exports = {
         port: 8090,
         port: 8090,
         proxy: {
         proxy: {
             '/data': {
             '/data': {
-                // target: 'http://60.205.177.43',
-                target: 'http://10.199.143.126',
+                target: 'http://60.205.177.43',
+                // target: 'http://10.199.143.126',
                 // target: 'http://192.168.200.11:9003', //yll
                 // target: 'http://192.168.200.11:9003', //yll
                 // target: 'http://localhost:6040/data/',
                 // target: 'http://localhost:6040/data/',
                 changeOrigin: true,
                 changeOrigin: true,
@@ -74,5 +74,6 @@ module.exports = {
         '@saga-web', // 指定对第三方依赖包进行babel-polyfill处理
         '@saga-web', // 指定对第三方依赖包进行babel-polyfill处理
         "@ant-design",
         "@ant-design",
         "element-ui"
         "element-ui"
-    ]
+    ],
+    productionSourceMap: false, //
 }
 }