add on-popper-show

This commit is contained in:
lwio 2017-08-11 10:59:33 +08:00
parent f3c6cd68d1
commit 12169ffb4a

View file

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