Sfoglia il codice sorgente

Merge branch 'master' of http://git.shengws.com/csx/Vue_New into 20200710_pc_vue_new_branch

csx 4 anni fa
parent
commit
5782fd65d9
1 ha cambiato i file con 11 aggiunte e 11 eliminazioni
  1. 11 11
      src/xt_permission.js

+ 11 - 11
src/xt_permission.js Vedi File

13
 router.beforeEach((to, from, next) => {
13
 router.beforeEach((to, from, next) => {
14
   // 线上注释
14
   // 线上注释
15
   // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
15
   // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-  //   store.dispatch('VerifyConfigList', []).then(() => {
16
+  //     store.dispatch('VerifyConfigList', []).then(() => {
17
+  //       next()
18
+  //     })
19
+  //   }
20
+  //   if (store.getters.permission_routers === undefined) {
21
+  //     store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+  //       next()
23
+  //     })
24
+  //   } else {
17
   //     next()
25
   //     next()
18
-  //   })
19
-  // }
20
-  // if (store.getters.permission_routers === undefined) {
21
-  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-  //     next()
23
-  //   })
24
-  // } else {
25
-  //   next()
26
-  // }
27
-  // return
26
+  //   }
27
+  //   return
28
   // 线上注释
28
   // 线上注释
29
 
29
 
30
   NProgress.start()
30
   NProgress.start()