mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 19:06:45 +08:00
---fix bug
This commit is contained in:
@@ -42,11 +42,11 @@ router.beforeEach(async (to, from, next) => {
|
||||
await getUserInfo()
|
||||
await getUserPermission();
|
||||
init()
|
||||
next();
|
||||
}catch (e){
|
||||
console.log('token失效 跳转到登录页')
|
||||
}
|
||||
}
|
||||
next();
|
||||
})
|
||||
app.use(Antd);
|
||||
app.use(router);
|
||||
|
||||
Reference in New Issue
Block a user