fix(select): multiple select menu won't change position when tags are multiple lines

This commit is contained in:
07akioni 2019-07-18 13:50:23 +08:00
parent c892397c87
commit 628564b077

View File

@ -220,8 +220,6 @@ export default {
}
}
},
created () {
},
beforeDestroy () {
document.removeEventListener('click', this.nativeCloseMenu)
},
@ -280,6 +278,7 @@ export default {
this.emitChangeEvent(item, true)
}
this.$emit('input', newSelectedValues)
this.$nextTick().then(this.updatePosition)
}
}
}