wupengfei
2025-08-07 d189050f3e07b54d428bb90333b04de605ab25a6
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) {}
}