diff --git a/db/TDesign.db b/db/TDesign.db index 4562f7d8..dedb3d44 100644 Binary files a/db/TDesign.db and b/db/TDesign.db differ diff --git a/packages/products/tdesign-miniprogram/src/slider/props.ts b/packages/products/tdesign-miniprogram/src/slider/props.ts index 0fb29194..2821ab78 100644 --- a/packages/products/tdesign-miniprogram/src/slider/props.ts +++ b/packages/products/tdesign-miniprogram/src/slider/props.ts @@ -11,10 +11,6 @@ const props: TdSliderProps = { type: null, value: undefined, }, - /** 组件类名,分别用于设置 组件外层元素、滑道底部、滑道激活态、滑道禁用态、游标 等元素类名 */ - externalClasses: { - type: Array, - }, /** 滑块当前值文本。
值为 true 显示默认文案;值为 false 不显示滑块当前值文本;
值为 `${value}%` 则表示组件会根据占位符渲染文案;
值类型为函数时,参数 `value` 标识滑块值,参数 `position=start` 表示范围滑块的起始值,参数 `position=end` 表示范围滑块的终点值 */ label: { type: null, diff --git a/packages/products/tdesign-miniprogram/src/slider/type.ts b/packages/products/tdesign-miniprogram/src/slider/type.ts index f4a2c139..3b12a27b 100644 --- a/packages/products/tdesign-miniprogram/src/slider/type.ts +++ b/packages/products/tdesign-miniprogram/src/slider/type.ts @@ -12,13 +12,6 @@ export interface TdSliderProps { type: BooleanConstructor; value?: boolean; }; - /** - * 组件类名,分别用于设置 组件外层元素、滑道底部、滑道激活态、滑道禁用态、游标 等元素类名 - */ - externalClasses?: { - type: ArrayConstructor; - value?: ['t-class', 't-class-bar', 't-class-bar-active', 't-class-bar-disabled', 't-class-cursor']; - }; /** * 滑块当前值文本。
值为 true 显示默认文案;值为 false 不显示滑块当前值文本;
值为 `${value}%` 则表示组件会根据占位符渲染文案;
值类型为函数时,参数 `value` 标识滑块值,参数 `position=start` 表示范围滑块的起始值,参数 `position=end` 表示范围滑块的终点值 * @default false diff --git a/packages/scripts/api.json b/packages/scripts/api.json index e2f81848..bfb92c0d 100644 --- a/packages/scripts/api.json +++ b/packages/scripts/api.json @@ -101244,43 +101244,6 @@ "Array" ] }, - { - "id": 1324, - "platform_framework": [ - "64" - ], - "component": "Slider", - "field_category": 1, - "field_name": "externalClasses", - "field_type": [ - "16" - ], - "field_default_value": "", - "field_enum": "", - "field_desc_zh": "组件类名,分别用于设置 组件外层元素、滑道底部、滑道激活态、滑道禁用态、游标 等元素类名", - "field_desc_en": null, - "field_required": 0, - "event_input": "", - "create_time": "2021-07-16 11:44:05", - "update_time": "2021-07-18 10:03:44", - "event_output": null, - "custom_field_type": "['t-class', 't-class-bar', 't-class-bar-active', 't-class-bar-disabled', 't-class-cursor']", - "syntactic_sugar": null, - "readonly": 1, - "html_attribute": 0, - "trigger_elements": "", - "deprecated": 0, - "version": null, - "test_description": null, - "support_default_value": 0, - "field_category_text": "Props", - "platform_framework_text": [ - "Miniprogram" - ], - "field_type_text": [ - "Array" - ] - }, { "id": 1201, "platform_framework": [