readme 路径调整
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user