From ef58e23a405ae668b01ce2d501162c1fe372ccb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E5=89=91=E9=94=8B?= <1822213252@qq.com> Date: Tue, 23 Aug 2022 07:49:39 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8F=96=E6=B6=88=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E5=8F=B0=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 梁剑锋 <1822213252@qq.com> --- ruoyi-generator/src/main/resources/vm/vue/index.vue.vm | 7 ++++--- 1 file changed, 4 insertions(+), 3 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 7a597f389..f96d18cae 100644 --- a/ruoyi-generator/src/main/resources/vm/vue/index.vue.vm +++ b/ruoyi-generator/src/main/resources/vm/vue/index.vue.vm @@ -561,9 +561,10 @@ export default { this.loading = false; this.getList(); this.#[[$modal]]#.msgSuccess("删除成功"); - }).finally(() => { - this.loading = false; - }); + }).catch(() => {}) + .finally(() => { + this.loading = false; + }); }, #if($table.sub) /** ${subTable.functionName}序号 */