Commit a809f2a41e9987326def55ed0e75efb264fc10f9

Authored by 梁灏
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 2 "name": "iview",
3   - "version": "3.1.0",
  3 + "version": "3.1.1-rc.1",
4 4 "title": "iView",
5 5 "description": "A high quality UI components Library with Vue.js",
6 6 "homepage": "http://www.iviewui.com",
... ...
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 {
... ...