diff --git a/components/slider/index.jsx b/components/slider/index.jsx index 730ad9b32..eab933480 100644 --- a/components/slider/index.jsx +++ b/components/slider/index.jsx @@ -74,7 +74,7 @@ const Slider = { }, })) }, - handleWithTooltip (h, { value, dragging, index, ref, ...restProps }) { + handleWithTooltip ({ value, dragging, index, ref, ...restProps }) { const { tooltipPrefixCls, tipFormatter } = this.$props const { visibles } = this const visible = tipFormatter ? (visibles[index] || dragging) : false diff --git a/components/spin/__tests__/__snapshots__/demo.test.js.snap b/components/spin/__tests__/__snapshots__/demo.test.js.snap index 3a657b311..700812a30 100644 --- a/components/spin/__tests__/__snapshots__/demo.test.js.snap +++ b/components/spin/__tests__/__snapshots__/demo.test.js.snap @@ -11,7 +11,9 @@ exports[`renders ./components/spin/demo/custom-indicator.md correctly 1`] = `