pull/492/head
shizhong 2024-08-07 19:47:10 +08:00
parent a574f3ca54
commit 2e871977cf
1 changed files with 5 additions and 1 deletions

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