fix: popconfirm failure due to tooltip api changes(change to visibleChange) #34

pull/77/merge
tangjinzhou 2018-06-12 17:53:06 +08:00
parent 59c06d04b3
commit 2d5b60d653
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ export default {
}, },
ref: 'tooltip', ref: 'tooltip',
on: { on: {
change: this.onVisibleChange, visibleChange: this.onVisibleChange,
}, },
} }
const overlay = ( const overlay = (

View File

@ -117,7 +117,7 @@ const SliderWithTooltip = {
on: { on: {
mouseenter: () => this.handleTooltipVisibleChange(index, true), mouseenter: () => this.handleTooltipVisibleChange(index, true),
mouseleave: () => this.handleTooltipVisibleChange(index, false), mouseleave: () => this.handleTooltipVisibleChange(index, false),
change: log, visibleChange: log,
}, },
style: { style: {
...handleStyleWithIndex, ...handleStyleWithIndex,