Commit 0cadcb863c27b56d3dba57a3922d9c123aeca492

Authored by Aresn
Committed by GitHub
2 parents 57042e92 0dc5c972

Merge pull request #4750 from RookieZoe/2.0-fix#4558

fix#4558, AutoComplete
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
src/components/auto-complete/auto-complete.vue
... ... @@ -151,6 +151,7 @@
151 151 this.$emit('on-search', query);
152 152 },
153 153 handleChange (val) {
  154 + if (val === undefined || val === null) return;
154 155 this.currentValue = val;
155 156 this.$refs.input.blur();
156 157 this.$emit('on-select', val);
... ...