readme 路径调整

This commit is contained in:
2022-12-04 10:14:56 +08:00
parent 0f2f38f6fd
commit 20e901da0a
22 changed files with 53 additions and 53 deletions

View File

@@ -12,7 +12,7 @@ isComponent: true
```json
"usingComponents": {
"t-switch": "tdesign-miniprogram/switch/switch"
"t-switch": "/components/switch/switch"
}
```
@@ -53,8 +53,8 @@ disabled | Boolean | false | 是否禁用组件 | N
label | String | '' | 开关的标签 | N
loading | Boolean | false | 是否处于加载中状态 | N
size | String | medium | 开关尺寸。可选项small/medium/large | N
value | String / Number / Boolean | undefined | 开关值。TS 类型:`SwitchValue` `type SwitchValue = string | number | boolean`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/switch/type.ts) | N
default-value | String / Number / Boolean | undefined | 开关值。非受控属性。TS 类型:`SwitchValue` `type SwitchValue = string | number | boolean`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/switch/type.ts) | N
value | String / Number / Boolean | undefined | 开关值。TS 类型:`SwitchValue` `type SwitchValue = string | number | boolean`。[详细类型定义](https://github.com/Tencent//components/tree/develop/src/switch/type.ts) | N
default-value | String / Number / Boolean | undefined | 开关值。非受控属性。TS 类型:`SwitchValue` `type SwitchValue = string | number | boolean`。[详细类型定义](https://github.com/Tencent//components/tree/develop/src/switch/type.ts) | N
### Switch Events