update popper.js to fixed throw error in Tooltip component

This commit is contained in:
梁灏 2018-09-14 11:34:52 +08:00
parent 6a84ef2951
commit a809f2a41e
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ export default {
},
visible(val) {
if (val) {
this.handleIndexIncrease(); // just use for Poptip
if (this.handleIndexIncrease) this.handleIndexIncrease(); // just use for Poptip
this.updatePopper();
this.$emit('on-popper-show');
} else {