feat: 人员选择组件change事件

master
ssc 4 years ago
parent a738c54230
commit ca7614f33d
  1. 4
      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 })
},
}
}

Loading…
Cancel
Save