diff --git a/packages/component/src/Slider/style/index.ts b/packages/component/src/Slider/style/index.ts index 5baeeb0..06adf7f 100644 --- a/packages/component/src/Slider/style/index.ts +++ b/packages/component/src/Slider/style/index.ts @@ -1,7 +1,7 @@ import { createStyles } from 'antd-style'; const useStyles = createStyles(({ token, css, prefixCls }) => { - const { handleLineWidth = 1, handleLineWidthHover = 2 } = token.Slider ?? {}; + const { handleLineWidth = 1, handleLineWidthHover = 2 } = (token as any).Slider ?? {}; return { sliderWrap: css` // error