去掉登录权限判断的注释
This commit is contained in:
@@ -37,10 +37,6 @@ router.beforeEach((to, from, next) => {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
/* notification.error({
|
|
||||||
message: '系统提示',
|
|
||||||
description: '请求用户信息失败,请重试!'
|
|
||||||
})*/
|
|
||||||
store.dispatch('Logout').then(() => {
|
store.dispatch('Logout').then(() => {
|
||||||
next({ path: '/user/login' })
|
next({ path: '/user/login' })
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user