Commit d8610aaa authored by baiyaaaaa's avatar baiyaaaaa Committed by cinwell.li

fix autocomplete suggestions show

parent 5ff5af1a
......@@ -98,6 +98,10 @@
},
handleChange(value) {
this.$emit('input', value);
if (!this.triggerOnFocus && !value) {
this.suggestions = [];
return;
}
this.getData(value);
},
handleFocus() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment