From b5cd9584bc684c9df207c4422562a28a07d099b1 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期四, 07 八月 2025 09:52:13 +0800 Subject: [PATCH] fix: 修改功能模块 --- src/views/DictionaryManage/DictionaryCategoryManage.vue | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/views/DictionaryManage/DictionaryCategoryManage.vue b/src/views/DictionaryManage/DictionaryCategoryManage.vue index b110d7b..973e21b 100644 --- a/src/views/DictionaryManage/DictionaryCategoryManage.vue +++ b/src/views/DictionaryManage/DictionaryCategoryManage.vue @@ -62,6 +62,7 @@ operationBtnMap, }); +const { updateDictionaryCategorySelect } = useGetDictionaryCategorySelect(); const BaseState = { loading: true, }; @@ -121,7 +122,7 @@ } } -const { dialogProps, handleAdd, handleEdit, editForm } = useFormDialog({ +const { dialogProps, handleAdd, handleEdit, editForm, dialogState } = useFormDialog({ onConfirm: handleAddOrEdit, defaultFormParams: { id: '', @@ -146,7 +147,9 @@ let res = await dictionaryServices.saveDictionaryCategory(params); if (res) { Message.successMessage('鎿嶄綔鎴愬姛'); + updateDictionaryCategorySelect(); getList(paginationState.pageIndex); + dialogState.dialogVisible = false; } } catch (error) {} } -- Gitblit v1.9.1