From 15085d16f2c29070c731f8271e87cbedceb1319f Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期三, 12 二月 2025 16:19:36 +0800 Subject: [PATCH] 流程表单提交按钮 提交失败转圈问题 --- src/views/flowable/task/myProcess/send/index.vue | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/views/flowable/task/myProcess/send/index.vue b/src/views/flowable/task/myProcess/send/index.vue index d4979d3..702f003 100644 --- a/src/views/flowable/task/myProcess/send/index.vue +++ b/src/views/flowable/task/myProcess/send/index.vue @@ -592,15 +592,21 @@ this.$modal.msgSuccess(res.msg); this.submitLoading = false this.goBack(); - }) - }) + }).catch((err) => { + this.submitLoading = false; + }); + }).catch((err) => { + this.submitLoading = false; + }); } else { // 娌″叧鑱旇〃鍗曠洿鎺ヤ紶绌� completeSubmitFormTask(this.taskId, {}).then(res => { this.$modal.msgSuccess(res.msg); this.submitLoading = false this.goBack(); - }) + }).catch((err) => { + this.submitLoading = false; + }); } // let that = this -- Gitblit v1.8.0