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) {
if (val) {
this.updatePopper();
this.$emit('on-popper-show');
} else {
this.destroyPopper();
this.$emit('on-popper-hide');