diff --git a/src/permission.ts b/src/permission.ts index bcba0119..0698dc88 100644 --- a/src/permission.ts +++ b/src/permission.ts @@ -35,7 +35,7 @@ router.beforeEach(async (to, from, next) => { const userStore = useUserStoreWithOut() const permissionStore = usePermissionStoreWithOut() if (!dictStore.getIsSetDict) { - dictStore.setDictMap() + await dictStore.setDictMap() } if (!userStore.getIsSetUser) { isRelogin.show = true diff --git a/src/views/bpm/model/index.vue b/src/views/bpm/model/index.vue index 298b0b6e..01a97d3f 100644 --- a/src/views/bpm/model/index.vue +++ b/src/views/bpm/model/index.vue @@ -250,7 +250,7 @@ name="bpmnFile" :data="importForm" > - +
将文件拖到此处,或 点击上传