This commit is contained in:
shizhong 2024-08-07 19:47:10 +08:00
parent a574f3ca54
commit 2e871977cf

View File

@ -69,7 +69,11 @@ router.beforeEach(async (to, from, next) => {
const userStore = useUserStoreWithOut()
const permissionStore = usePermissionStoreWithOut()
if (!dictStore.getIsSetDict) {
await dictStore.setDictMap()
try {
await dictStore.setDictMap()
} catch (e) {
console.log(e)
}
}
if (!userStore.getIsSetUser) {
isRelogin.show = true