From c4f1eb3bb4128a924300f031eae9ad2bcabe5982 Mon Sep 17 00:00:00 2001 From: "COBORGA-8FFVDVM\\cob" <1509326266@qq.com> Date: Tue, 29 Oct 2024 15:23:23 +0800 Subject: [PATCH] fix(hooks): after the user manages the edit modification submission, when he clicks Add, the data just edited is displayed .close #18 --- src/hooks/common/table.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/common/table.ts b/src/hooks/common/table.ts index 4a05ae9..1798d37 100644 --- a/src/hooks/common/table.ts +++ b/src/hooks/common/table.ts @@ -226,7 +226,7 @@ export function useTableOperate( window.$message?.success(t('common.updateSuccess')); - closeDrawer(); + onClose(); getData(); }