liuqiao 2 éve
szülő
commit
14ae7256be
2 módosított fájl, 5 hozzáadás és 1 törlés
  1. 1 1
      src/permission.js
  2. 4 0
      src/router/index.js

+ 1 - 1
src/permission.js

@@ -8,7 +8,7 @@ import { Caegw_LogUrl } from '@/settings' // 引入settings.js
 
 NProgress.configure({ showSpinner: false }) // NProgress配置
 
-const whiteList = ['/fail404', '/home','/sso','/login/index','/register/index', '/forget/index', '/protocol/index','/indexLayout/index','/index']// 免登录的'白名单
+const whiteList = ['/fail404', '/home','/sso','/login/index','/register/index', '/forget/index', '/protocol/index','/indexLayout/index','/index',]// 免登录的'白名单
 // 前置路由守卫
 router.beforeEach(async (to, from, next) => {
   NProgress.start() // 开启进度条

+ 4 - 0
src/router/index.js

@@ -79,6 +79,10 @@ export const constantRoutes = [
       }]
     
     },
+   
+    
+  
+  
   //HCFD
   // {
   //   path: 'HCFDLab/index',