同步6/16
This commit is contained in:
@@ -60,7 +60,7 @@ router.beforeEach(async (to, from) => {
|
||||
removeDynamicRoutes();
|
||||
|
||||
// 获取用户信息
|
||||
const [err, res] = await tos(userStore.getInfo());
|
||||
const [err] = await tos(userStore.getInfo());
|
||||
if (err) {
|
||||
await userStore.logout();
|
||||
ElMessage.error(err);
|
||||
|
||||
Reference in New Issue
Block a user