From a41e85978588678de49574e146e4ec67c95599c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Fri, 1 Dec 2023 15:36:05 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=A0=87=E5=87=86=E6=B3=95=E8=A7=84?= =?UTF-8?q?=E5=85=A5=E5=BA=93/=E5=8F=98=E6=9B=B4=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mixins/WorkCenterMixin.js | 4 +++- .../StandardEntryOrChangeProcess.vue | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mixins/WorkCenterMixin.js b/src/mixins/WorkCenterMixin.js index 1b99ab9f..d5d60afe 100644 --- a/src/mixins/WorkCenterMixin.js +++ b/src/mixins/WorkCenterMixin.js @@ -64,7 +64,9 @@ export const WorkCenterMixin = { }, // 操作完成返回 goBack () { - setTimeout(() => { + let timer = setTimeout(() => { + clearTimeout(timer) + timer = null this.$router.go(-1) }, 700) }, diff --git a/src/views/workCenter/standardEntryOrChangeProcess/StandardEntryOrChangeProcess.vue b/src/views/workCenter/standardEntryOrChangeProcess/StandardEntryOrChangeProcess.vue index 3a7ad655..5f51af2e 100644 --- a/src/views/workCenter/standardEntryOrChangeProcess/StandardEntryOrChangeProcess.vue +++ b/src/views/workCenter/standardEntryOrChangeProcess/StandardEntryOrChangeProcess.vue @@ -618,6 +618,7 @@ export default { } }).finally(() => { this.loading = false + resolve() }) }) }, @@ -785,7 +786,7 @@ export default { // 说明是树选择 formInline[res] = formInline[res].map(item => item.value).join(',') } else { - formInline[res] = formInline[res].josn(',') + formInline[res] = formInline[res].join(',') } } })