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('表单校验失败')