Commit 754e4c515f09bfd20cf1b8354c6db4260ce49cb9
Committed by
GitHub

Merge pull request #1588 from lwyj123/patch-1
add on-popper-show event in Poptip events
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/components/base/popper.js
@@ -55,6 +55,7 @@ export default { | @@ -55,6 +55,7 @@ export default { | ||
55 | visible(val) { | 55 | visible(val) { |
56 | if (val) { | 56 | if (val) { |
57 | this.updatePopper(); | 57 | this.updatePopper(); |
58 | + this.$emit('on-popper-show'); | ||
58 | } else { | 59 | } else { |
59 | this.destroyPopper(); | 60 | this.destroyPopper(); |
60 | this.$emit('on-popper-hide'); | 61 | this.$emit('on-popper-hide'); |