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