mirror of https://github.com/ElemeFE/element
Select: return when query is null
parent
ffe6b8933c
commit
7b8250b4e2
|
@ -248,6 +248,7 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
query(val) {
|
query(val) {
|
||||||
|
if (val === null || val === undefined) return;
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
if (this.visible) this.broadcast('ElSelectDropdown', 'updatePopper');
|
if (this.visible) this.broadcast('ElSelectDropdown', 'updatePopper');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue