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
| 1 | { | 1 | { |
| 2 | "name": "iview", | 2 | "name": "iview", |
| 3 | - "version": "3.1.0", | 3 | + "version": "3.1.1-rc.1", |
| 4 | "title": "iView", | 4 | "title": "iView", |
| 5 | "description": "A high quality UI components Library with Vue.js", | 5 | "description": "A high quality UI components Library with Vue.js", |
| 6 | "homepage": "http://www.iviewui.com", | 6 | "homepage": "http://www.iviewui.com", |
src/components/base/popper.js
| @@ -60,7 +60,7 @@ export default { | @@ -60,7 +60,7 @@ export default { | ||
| 60 | }, | 60 | }, |
| 61 | visible(val) { | 61 | visible(val) { |
| 62 | if (val) { | 62 | if (val) { |
| 63 | - this.handleIndexIncrease(); // just use for Poptip | 63 | + if (this.handleIndexIncrease) this.handleIndexIncrease(); // just use for Poptip |
| 64 | this.updatePopper(); | 64 | this.updatePopper(); |
| 65 | this.$emit('on-popper-show'); | 65 | this.$emit('on-popper-show'); |
| 66 | } else { | 66 | } else { |