Commit dcb4839732b33379cc5633dcf3563193138c9ca2
Committed by
GitHub
Merge pull request #4986 from zhouqing86/2.0-fix#4985
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; |