From b96a4adb9feb230df898241ccba810700a39e416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com> Date: Fri, 15 Sep 2023 19:55:07 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E7=94=9F=E6=88=90=E8=A1=A8=E5=8D=95=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ZR.Admin.WebApi/wwwroot/CodeGenTemplate/app/form.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/app/form.txt b/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/app/form.txt index 0de53fc..4d6dd90 100644 --- a/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/app/form.txt +++ b/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/app/form.txt @@ -72,10 +72,10 @@ $end - + - + @@ -186,12 +186,10 @@ $end update${genTable.BusinessName}(this.form).then((res) => { this.${modal}modal.msgSuccess("修改成功") }) - .catch(() => {}) } else { add${genTable.BusinessName}(this.form).then((res) => { this.${modal}modal.msgSuccess("新增成功") }) - .catch(() => {}) } }).catch(errors => { this.${modal}modal.msg('表单校验失败')