From 6a8e281b6684c4c39b910de3935eab63d301d88c Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期四, 08 七月 2021 20:06:06 +0800 Subject: [PATCH] update 更新docker脚本配置 --- ruoyi-generator/src/main/resources/vm/vue/index.vue.vm | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ruoyi-generator/src/main/resources/vm/vue/index.vue.vm b/ruoyi-generator/src/main/resources/vm/vue/index.vue.vm index abc799e..12bb288 100644 --- a/ruoyi-generator/src/main/resources/vm/vue/index.vue.vm +++ b/ruoyi-generator/src/main/resources/vm/vue/index.vue.vm @@ -351,8 +351,8 @@ }, data() { return { - //鎸夐挳loading - buttonLoading: false, + // 鎸夐挳loading + buttonLoading: false, // 閬僵灞� loading: true, // 瀵煎嚭閬僵灞� @@ -567,17 +567,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; }); } } -- Gitblit v1.9.3