We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0510d45 commit 93d5b56Copy full SHA for 93d5b56
admin/src/permission.js
@@ -17,7 +17,7 @@ if (store.getters.roles.length === 0 && sessionStorage.getItem('roles')) {
17
// router.addRoutes(routeAdmin)
18
// router.addRoutes(routeSuper)
19
20
-const whiteList = ['/login', '/index', '/line', '/home', '/404', '/', '', '/md', 'out'] // 不重定向白名单
+const whiteList = ['/login', '/index', '/line', '/home', '/404', '/', '', '/md', '/out'] // 不重定向白名单
21
router.beforeEach((to, from, next) => {
22
NProgress.start()
23
if (getToken()) {
0 commit comments