fix#4558, AutoComplete

This commit is contained in:
Rookie_Zoe 2018-10-23 15:51:49 +08:00
parent 69a844010e
commit 0dc5c97281

View file

@ -151,6 +151,7 @@
this.$emit('on-search', query); this.$emit('on-search', query);
}, },
handleChange (val) { handleChange (val) {
if (val === undefined || val === null) return;
this.currentValue = val; this.currentValue = val;
this.$refs.input.blur(); this.$refs.input.blur();
this.$emit('on-select', val); this.$emit('on-select', val);