Merge pull request #4750 from RookieZoe/2.0-fix#4558
fix#4558, AutoComplete
This commit is contained in:
commit
0cadcb863c
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue