fix autocomplete lose vnode.context.popperElm

pull/440/head
YikaJ 2016-10-16 15:44:21 +08:00
parent d8fc4fca36
commit 34ea7d7b3e
1 changed files with 3 additions and 0 deletions

View File

@ -71,6 +71,9 @@
highlightedIndex: -1
};
},
mounted() {
this.$parent.popperElm = this.popperElm = this.$el;
},
methods: {
handleChange(value) {
this.$emit('input', value);