BUG
This commit is contained in:
parent
a574f3ca54
commit
2e871977cf
@ -69,7 +69,11 @@ router.beforeEach(async (to, from, next) => {
|
|||||||
const userStore = useUserStoreWithOut()
|
const userStore = useUserStoreWithOut()
|
||||||
const permissionStore = usePermissionStoreWithOut()
|
const permissionStore = usePermissionStoreWithOut()
|
||||||
if (!dictStore.getIsSetDict) {
|
if (!dictStore.getIsSetDict) {
|
||||||
|
try {
|
||||||
await dictStore.setDictMap()
|
await dictStore.setDictMap()
|
||||||
|
} catch (e) {
|
||||||
|
console.log(e)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (!userStore.getIsSetUser) {
|
if (!userStore.getIsSetUser) {
|
||||||
isRelogin.show = true
|
isRelogin.show = true
|
||||||
|
Loading…
Reference in New Issue
Block a user