fix: slider tipFormatter error #4954

pull/4977/head
tangjinzhou 2021-12-03 22:37:38 +08:00
parent 5265440f76
commit 6fad9ead9e
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ export const sliderProps = () => ({
vertical: { type: Boolean, default: undefined }, vertical: { type: Boolean, default: undefined },
tipFormatter: { tipFormatter: {
type: [Function, Object] as PropType<((value?: number) => any) | null>, type: [Function, Object] as PropType<((value?: number) => any) | null>,
default: defaultTipFormatter, default: () => defaultTipFormatter,
}, },
tooltipVisible: { type: Boolean, default: undefined }, tooltipVisible: { type: Boolean, default: undefined },
tooltipPlacement: { type: String as PropType<TooltipPlacement> }, tooltipPlacement: { type: String as PropType<TooltipPlacement> },