Skip to content

Commit 93d5b56

Browse files
committed
fix(view): 权限
1 parent 0510d45 commit 93d5b56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admin/src/permission.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if (store.getters.roles.length === 0 && sessionStorage.getItem('roles')) {
1717
// router.addRoutes(routeAdmin)
1818
// router.addRoutes(routeSuper)
1919

20-
const whiteList = ['/login', '/index', '/line', '/home', '/404', '/', '', '/md', 'out'] // 不重定向白名单
20+
const whiteList = ['/login', '/index', '/line', '/home', '/404', '/', '', '/md', '/out'] // 不重定向白名单
2121
router.beforeEach((to, from, next) => {
2222
NProgress.start()
2323
if (getToken()) {

0 commit comments

Comments
 (0)