---fix bug

This commit is contained in:
yuping
2023-07-28 17:40:01 +08:00
parent 0f5929f34e
commit e8612a32cf

View File

@@ -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);