From 32f0b7bba915fe17190b07a456dd833ba969b720 Mon Sep 17 00:00:00 2001 From: ssc <273702440@qq.com> Date: Thu, 13 Oct 2022 14:23:55 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=80=82=E9=85=8DAvue2.9.12?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/plugin/workflow/design/index.vue | 2 ++ src/views/plugin/workflow/process/components/examForm.vue | 1 + 2 files changed, 3 insertions(+) diff --git a/src/views/plugin/workflow/design/index.vue b/src/views/plugin/workflow/design/index.vue index 676dc9b..123442e 100644 --- a/src/views/plugin/workflow/design/index.vue +++ b/src/views/plugin/workflow/design/index.vue @@ -168,6 +168,7 @@ export default { event: { change: (val) => { if (!val) return + val = typeof val == 'object'? val.value: val if (val == 1) { this.findObject(this.step1.option.group[0].column, 'exFormKey').display = false this.findObject(this.step1.option.group[1].column, 'column').display = false @@ -208,6 +209,7 @@ export default { dicData: [], event: { change: (val) => { + val = typeof val == 'object'? val.value: val _this.option = { menuBtn: false, readonly: true } if (val) { getFormByKey({ formKey: val }).then(res => { diff --git a/src/views/plugin/workflow/process/components/examForm.vue b/src/views/plugin/workflow/process/components/examForm.vue index dd7ca89..e7dd3eb 100644 --- a/src/views/plugin/workflow/process/components/examForm.vue +++ b/src/views/plugin/workflow/process/components/examForm.vue @@ -43,6 +43,7 @@ export default { span: 24, event: { change: (val) => { + val = typeof val == 'object'? val.value: val this.$emit('update:comment', val) } },