wupengfei
2025-08-06 9f70a1ee5cdffaef3a96e4042c8eea251df2fa0d
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) {}
}