This commit is contained in:
qsh
2024-09-23 11:15:22 +08:00
parent 4daf01a21b
commit a89bd1b59c
3 changed files with 7 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ router.beforeEach(async (to, from, next) => {
const dictStore = useDictStoreWithOut()
const userStore = useUserStoreWithOut()
const permissionStore = usePermissionStoreWithOut()
if (!dictStore.getIsSetDict) {
if (!dictStore.getIsSetDict && to.path != '/nm-detail') {
await dictStore.setDictMap()
}
if (!userStore.getIsSetUser) {