Skip to content

Commit 2bf25e2

Browse files
committed
fix(view): 不重定向白名单
1 parent 441ddd9 commit 2bf25e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

admin/src/permission.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import getPageTitle from '@/utils/get-page-title'
88

99
NProgress.configure({ showSpinner: false }) // NProgress Configuration
1010

11-
const whiteList = ['/login', '/auth-redirect'] // no redirect whitelist
12-
11+
// 不重定向白名单
12+
const whiteList = ['/login', '/index', '/line', '/home', '/404', '/', '', '/echarts', '/md', '/out', '/excel', '/upload']
1313
router.beforeEach(async(to, from, next) => {
1414
// start progress bar
1515
NProgress.start()

0 commit comments

Comments
 (0)