Fix AutoComplete issue #4985

This commit is contained in:
zhouqing86 2018-12-08 10:43:22 +08:00 committed by GitHub
parent eaddbfb000
commit 5de28f6fbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -136,7 +136,7 @@
this.currentValue = val; this.currentValue = val;
}, },
currentValue (val) { currentValue (val) {
this.$refs.select.query = val; this.$refs.select.setQuery(val);
this.$emit('input', val); this.$emit('input', val);
if (this.disableEmitChange) { if (this.disableEmitChange) {
this.disableEmitChange = false; this.disableEmitChange = false;