🐞 fix: 残留错误
This commit is contained in:
parent
4bdd1b5b32
commit
14e2e3758b
@ -94,7 +94,7 @@ router.beforeEach(async (to) => {
|
||||
const { permissionId } = to.meta;
|
||||
pageStore.setNewRouteId(to);
|
||||
if (!userStore.userInfo) {
|
||||
const succeed = await userStore.updateSelfUserInfo(true);
|
||||
const succeed = await userStore.updateSelfUserInfo();
|
||||
if (!succeed) {
|
||||
if (permissionId === undefined) {
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user