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 7f89c6d commit 1346bbaCopy full SHA for 1346bba
src/login.js
@@ -10,6 +10,7 @@ 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