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 }) }, } }