fix: BUG修改

This commit is contained in:
kun 2023-10-30 17:28:27 +08:00
parent 045a08dc7d
commit 7710cb4b10

View File

@ -80,10 +80,8 @@ router.beforeEach(async (to, from, next) => {
// await sendMessage({ isSuccess: true }, 2);
globalStore.setPath(to.path);
await initDynamicRouter();
return next();
// globalStore.moduleId = data["惠州项目"][0].moduleId;
} else {
// ElMessage.error("登录信息异常,请刷新或重新登录!");
return;
}
}
return next();