Sfoglia il codice sorgente

配置文件新增corn的转译文件

pm 10 mesi fa
parent
commit
3ad622a260
2 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 2 1
      package.json
  2. 1 0
      src/permission.js

+ 2 - 1
package.json

@@ -21,7 +21,7 @@
       "eslint --fix",
       "git add"
     ]
-  },                                          
+  },
   "keywords": [
     "vue",
     "admin",
@@ -42,6 +42,7 @@
     "axios": "0.24.0",
     "clipboard": "2.0.8",
     "core-js": "^3.21.1",
+    "cronstrue": "^2.52.0",
     "dhtmlx-gantt": "^7.1.11",
     "echarts": "4.9.0",
     "element-ui": "2.15.6",

+ 1 - 0
src/permission.js

@@ -23,6 +23,7 @@ router.beforeEach((to, from, next) => {
         isRelogin.show = true
         // 判断当前用户是否已拉取完user_info信息
         store.dispatch('GetInfo').then(() => {
+          
           isRelogin.show = false
           store.dispatch('GenerateRoutes').then(accessRoutes => {
             // 根据roles权限生成可访问的路由表