fix#4558, AutoComplete
This commit is contained in:
Aresn 2018-11-01 11:04:10 +08:00 committed by GitHub
commit 0cadcb863c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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