Commit 5de28f6fbdf057a539aa08600851b5dec158801e
Committed by
GitHub
1 parent
eaddbfb0
Fix AutoComplete issue #4985
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/components/auto-complete/auto-complete.vue
| @@ -136,7 +136,7 @@ | @@ -136,7 +136,7 @@ | ||
| 136 | this.currentValue = val; | 136 | this.currentValue = val; |
| 137 | }, | 137 | }, |
| 138 | currentValue (val) { | 138 | currentValue (val) { |
| 139 | - this.$refs.select.query = val; | 139 | + this.$refs.select.setQuery(val); |
| 140 | this.$emit('input', val); | 140 | this.$emit('input', val); |
| 141 | if (this.disableEmitChange) { | 141 | if (this.disableEmitChange) { |
| 142 | this.disableEmitChange = false; | 142 | this.disableEmitChange = false; |