BUG
This commit is contained in:
parent
a574f3ca54
commit
2e871977cf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user