mirror of https://github.com/ElemeFE/element
fix autocomplete lose vnode.context.popperElm
parent
d8fc4fca36
commit
34ea7d7b3e
|
@ -71,6 +71,9 @@
|
||||||
highlightedIndex: -1
|
highlightedIndex: -1
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
mounted() {
|
||||||
|
this.$parent.popperElm = this.popperElm = this.$el;
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleChange(value) {
|
handleChange(value) {
|
||||||
this.$emit('input', value);
|
this.$emit('input', value);
|
||||||
|
|
Loading…
Reference in New Issue