Pre Merge pull request !465 from dhb52/dev

This commit is contained in:
dhb52 2023-12-24 06:36:38 +00:00 committed by Gitee
commit ca83081ea8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -436,10 +436,11 @@ const submitForm = () => {
#end #end
if (form.value.${pkColumn.javaField}) { if (form.value.${pkColumn.javaField}) {
await update${BusinessName}(form.value).finally(() => buttonLoading.value = false); await update${BusinessName}(form.value).finally(() => buttonLoading.value = false);
proxy?.#[[$modal]]#.msgSuccess("修改成功");
} else { } else {
await add${BusinessName}(form.value).finally(() => buttonLoading.value = false); await add${BusinessName}(form.value).finally(() => buttonLoading.value = false);
proxy?.#[[$modal]]#.msgSuccess("添加成功");
} }
proxy?.#[[$modal]]#.msgSuccess("修改成功");
dialog.visible = false; dialog.visible = false;
await getList(); await getList();
} }