全局lint优化
This commit is contained in:
@@ -36,7 +36,7 @@ router.beforeEach((to, from, next) => {
|
||||
if (hasPermission(store.getters.roles, to.meta.role)) {
|
||||
next()//
|
||||
} else {
|
||||
next({ path: '/401', query: { noGoBack: true } })
|
||||
next({ path: '/401', query: { noGoBack: true }})
|
||||
}
|
||||
// 可删 ↑
|
||||
}
|
||||
|
Reference in New Issue
Block a user