Q-ABAB há 1 ano atrás
pai
commit
8bb7b24bdf
1 ficheiros alterados com 3 adições e 1 exclusões
  1. 3 1
      src/config/config.js

+ 3 - 1
src/config/config.js

@@ -1,5 +1,6 @@
 import Vue from 'vue'
 import Vuex from 'vuex'
+import router from '@/router'
 
 Vue.use(Vuex)
 
@@ -18,7 +19,7 @@ const store = new Vuex.Store({
         // socket: "https://poll.cocorobo.cn",
         // socket: "http://localhost:1473",
         // api: 'http://10.3.16.226:7003/api',
-        api:'http://10.16.30.130:7003/api'
+        api:'http://10.16.30.130:7003/api',//服务器
         // api: 'http://127.0.0.1:7003/api',
         // api: 'http://10.3.13.84:7003/api',
 
@@ -27,6 +28,7 @@ const store = new Vuex.Store({
     mutations: {
         update(state, [key, value]) {
             state[key] = value;
+            router.push('/projectApplication');
         },
     },
 })