Select add @on-select event

This commit is contained in:
梁灏 2019-12-16 11:16:07 +08:00
parent bd9c12cf88
commit ed741b1666

View file

@ -693,6 +693,7 @@
const inputField = this.$el.querySelector('input[type="text"]');
if (!this.autoComplete) this.$nextTick(() => inputField.focus());
}
this.$emit('on-select', option); // # 4441
this.broadcast('Drop', 'on-update-popper');
setTimeout(() => {
this.filterQueryChange = false;