ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm
@@ -510,17 +510,19 @@ #end if (this.form.${pkColumn.javaField} != null) { update${BusinessName}(this.form).then(response => { this.buttonLoading = false; this.msgSuccess("修改成功"); this.open = false; this.getList(); }).finally(() => { this.buttonLoading = false; }); } else { add${BusinessName}(this.form).then(response => { this.buttonLoading = false; this.msgSuccess("新增成功"); this.open = false; this.getList(); }).finally(() => { this.buttonLoading = false; }); } }