lrf402788946 5 年之前
父节点
当前提交
e2b6443a21
共有 3 个文件被更改,包括 3 次插入2 次删除
  1. 1 0
      src/router/index.js
  2. 1 1
      src/store/index.js
  3. 1 1
      vue.config.js

+ 1 - 0
src/router/index.js

@@ -1,5 +1,6 @@
 import Vue from 'vue';
 import VueRouter from 'vue-router';
+import store from '@/store/index';
 import { Notification } from 'element-ui';
 
 Vue.use(VueRouter);

+ 1 - 1
src/store/index.js

@@ -12,5 +12,5 @@ export default new Vuex.Store({
   state: { ...ustate },
   mutations: { ...umutations },
   actions: {},
-  modules: { trainplan, teaPlan },
+  modules: { trainplan, teaPlan, login },
 });

+ 1 - 1
vue.config.js

@@ -34,7 +34,7 @@ module.exports = {
         ws: true,
       },
       '/ws': {
-        target: 'http://smart.cc-lotus.info',
+        target: 'http://free.liaoningdoupo.com',
         ws: true,
       },
       '/weixin': {