mirror of https://github.com/ElemeFE/element
fix autocomplete suggestions show
parent
5ff5af1a41
commit
d8610aaa54
|
@ -98,6 +98,10 @@
|
|||
},
|
||||
handleChange(value) {
|
||||
this.$emit('input', value);
|
||||
if (!this.triggerOnFocus && !value) {
|
||||
this.suggestions = [];
|
||||
return;
|
||||
}
|
||||
this.getData(value);
|
||||
},
|
||||
handleFocus() {
|
||||
|
|
Loading…
Reference in New Issue