mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-02 20:28:52 +08:00
fix autocomplete suggestions show
This commit is contained in:
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
Block a user