Skip to content

Commit 1346bba

Browse files
author
zhouhero
committed
fixed bugs
1 parent 7f89c6d commit 1346bba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/login.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ function hasPermission(roles, permissionRoles) {
1010
if (!permissionRoles) return true
1111
return roles.some(role => permissionRoles.indexOf(role) >= 0)
1212
}
13+
1314
// register global progress.
1415
const whiteList = ['/login', '/authredirect']// 不重定向白名单
1516
router.beforeEach((to, from, next) => {

0 commit comments

Comments
 (0)