From ca7614f33d18368934623af72acfd5004208bcd8 Mon Sep 17 00:00:00 2001 From: ssc <273702440@qq.com> Date: Wed, 12 Jan 2022 15:48:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BA=BA=E5=91=98=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E7=BB=84=E4=BB=B6change=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/plugin/workflow/components/wf-user-select/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/plugin/workflow/components/wf-user-select/index.vue b/src/views/plugin/workflow/components/wf-user-select/index.vue index f9350c1..64521d9 100644 --- a/src/views/plugin/workflow/components/wf-user-select/index.vue +++ b/src/views/plugin/workflow/components/wf-user-select/index.vue @@ -51,7 +51,8 @@ export default { default: () => { return '/api/blade-user/search/user' } - } + }, + change: Function }, watch: { value: { @@ -87,6 +88,7 @@ export default { }, handleUserSelectConfirm(id) { this.$emit('input', id) + if (this.change && typeof this.change == 'function') this.change({ value: id }) }, } }