From 2d5b60d6531d9e361da4c59950a52c7f72402ea0 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Tue, 12 Jun 2018 17:53:06 +0800 Subject: [PATCH] fix: popconfirm failure due to tooltip api changes(change to visibleChange) #34 --- components/popconfirm/index.jsx | 2 +- components/vc-slider/demo/slider.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/popconfirm/index.jsx b/components/popconfirm/index.jsx index 4fef8ef61..9e4876303 100644 --- a/components/popconfirm/index.jsx +++ b/components/popconfirm/index.jsx @@ -102,7 +102,7 @@ export default { }, ref: 'tooltip', on: { - change: this.onVisibleChange, + visibleChange: this.onVisibleChange, }, } const overlay = ( diff --git a/components/vc-slider/demo/slider.jsx b/components/vc-slider/demo/slider.jsx index 4909ee292..63f22e82d 100644 --- a/components/vc-slider/demo/slider.jsx +++ b/components/vc-slider/demo/slider.jsx @@ -117,7 +117,7 @@ const SliderWithTooltip = { on: { mouseenter: () => this.handleTooltipVisibleChange(index, true), mouseleave: () => this.handleTooltipVisibleChange(index, false), - change: log, + visibleChange: log, }, style: { ...handleStyleWithIndex,