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

pull/165/head
tangjinzhou 2018-06-12 17:53:06 +08:00
parent 32d9232c08
commit 91e02498bb
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,