fix autocomplete suggestions show

This commit is contained in:
baiyaaaaa 2017-02-06 10:42:54 +08:00 committed by cinwell.li
parent 5ff5af1a41
commit d8610aaa54

View File

@ -98,6 +98,10 @@
},
handleChange(value) {
this.$emit('input', value);
if (!this.triggerOnFocus && !value) {
this.suggestions = [];
return;
}
this.getData(value);
},
handleFocus() {