Merge pull request #1588 from lwyj123/patch-1

add on-popper-show event in Poptip events
This commit is contained in:
Aresn 2017-08-11 14:03:43 +08:00 committed by GitHub
commit 754e4c515f

View file

@ -55,6 +55,7 @@ export default {
visible(val) {
if (val) {
this.updatePopper();
this.$emit('on-popper-show');
} else {
this.destroyPopper();
this.$emit('on-popper-hide');