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 511d158 commit 7f89c6dCopy full SHA for 7f89c6d
src/login.js
@@ -10,7 +10,6 @@ function hasPermission(roles, permissionRoles) {
10
if (!permissionRoles) return true
11
return roles.some(role => permissionRoles.indexOf(role) >= 0)
12
}
13
-
14
// register global progress.
15
const whiteList = ['/login', '/authredirect']// 不重定向白名单
16
router.beforeEach((to, from, next) => {
0 commit comments