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