2 Commits

Author SHA1 Message Date
williamhliu
6f8cf9853b (fix)(supersonic-fe) fix the issue where there is no prompt when saving the dataset (#2154)
Some checks are pending
supersonic CentOS CI / build (21) (push) Waiting to run
supersonic mac CI / build (21) (push) Waiting to run
supersonic ubuntu CI / build (21) (push) Waiting to run
supersonic windows CI / build (21) (push) Waiting to run
2025-03-11 10:36:03 +08:00
williamhliu
75906037ac (fix)(supersonic-fe) fix the issue where there is no prompt when saving the dataset (#2152) 2025-03-11 09:19:22 +08:00
3 changed files with 3 additions and 0 deletions

View File

@@ -99,6 +99,7 @@ const DatasetCreateForm: React.FC<ModelCreateFormModalProps> = forwardRef(
setSaveLoading(false);
if (code === 200) {
onSubmit?.(queryData);
message.success('保存成功');
} else {
message.error(msg);
}

View File

@@ -109,6 +109,7 @@ const ViewCreateFormModal: React.FC<ModelCreateFormModalProps> = ({
setSaveLoading(false);
if (code === 200) {
onSubmit?.(queryData);
message.success('保存成功');
} else {
message.error(msg);
}

View File

@@ -87,6 +87,7 @@ const ViewSearchFormModal: React.FC<ModelCreateFormModalProps> = ({
setSaveLoading(false);
if (code === 200) {
onSubmit?.(queryData);
message.success('保存成功');
} else {
message.error(msg);
}