Commit a809f2a41e9987326def55ed0e75efb264fc10f9
1 parent
6a84ef29
update popper.js to fixed throw error in Tooltip component
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
package.json
src/components/base/popper.js
... | ... | @@ -60,7 +60,7 @@ export default { |
60 | 60 | }, |
61 | 61 | visible(val) { |
62 | 62 | if (val) { |
63 | - this.handleIndexIncrease(); // just use for Poptip | |
63 | + if (this.handleIndexIncrease) this.handleIndexIncrease(); // just use for Poptip | |
64 | 64 | this.updatePopper(); |
65 | 65 | this.$emit('on-popper-show'); |
66 | 66 | } else { | ... | ... |