You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
options | Array | - | Typescript:`Array<RadioOption>``type RadioOption = string \| number \| RadioOptionObj``interface RadioOptionObj { label?: string \| TNode; value?: string \| number; disabled?: boolean }`。[see more ts definition](https://github.com/Tencent/tdesign-vue/blob/develop/src/common.ts)。[see more ts definition](https://github.com/Tencent/tdesign-vue/tree/develop/src/radio/type.ts) | N
34
-
theme | String | radio | options:radio/button。 | N
35
-
size | String | medium | options:small/medium/large。Typescript:`SizeEnum`。[see more ts definition](https://github.com/Tencent/tdesign-vue/blob/develop/src/common.ts) | N
36
-
value | String / Number / Boolean | - | `v-model` is supported。Typescript:`T` | N
37
-
defaultValue | String / Number / Boolean | - | uncontrolled property。Typescript:`T` | N
38
-
variant | String | outline | options:outline/primary-filled/default-filled | N
39
-
onChange | Function | | Typescript:`(value: T, context: { e: Event }) => void`<br/> | N
36
+
options | Array | - | Typescript:`Array<RadioOption>``type RadioOption = string \| number \| RadioOptionObj``interface RadioOptionObj { label?: string \| TNode; value?: string \| number \| boolean; disabled?: boolean }`。[see more ts definition](https://github.com/Tencent/tdesign-vue/blob/develop/src/common.ts)。[see more ts definition](https://github.com/Tencent/tdesign-vue/tree/develop/src/radio/type.ts) | N
37
+
readonly | Boolean | undefined | \- | N
38
+
size | String | medium | options: small/medium/large。Typescript:`SizeEnum`。[see more ts definition](https://github.com/Tencent/tdesign-vue/blob/develop/src/common.ts) | N
39
+
theme | String | radio | options: radio/button | N
40
+
value | String / Number / Boolean | - | `v-model` is supported。Typescript:`T``type RadioValue = string \| number \| boolean`。[see more ts definition](https://github.com/Tencent/tdesign-vue/tree/develop/src/radio/type.ts) | N
41
+
defaultValue | String / Number / Boolean | - | uncontrolled property。Typescript:`T``type RadioValue = string \| number \| boolean`。[see more ts definition](https://github.com/Tencent/tdesign-vue/tree/develop/src/radio/type.ts) | N
42
+
variant | String | outline | options: outline/primary-filled/default-filled | N
43
+
onChange | Function | | Typescript:`(value: T, context: { e: Event; name?:string }) => void`<br/> | N
options | Array | - | 单选组件按钮形式。RadioOption 数据类型为 string 或 number 时,表示 label 和 value 值相同。TS 类型:`Array<RadioOption>``type RadioOption = string \| number \| RadioOptionObj``interface RadioOptionObj { label?: string \| TNode; value?: string \| number; disabled?: boolean }`。[通用类型定义](https://github.com/Tencent/tdesign-vue/blob/develop/src/common.ts)。[详细类型定义](https://github.com/Tencent/tdesign-vue/tree/develop/src/radio/type.ts) | N
34
-
theme | String | radio | 组件风格,可选项:radio/button。 | N
36
+
options | Array | - | 单选组件按钮形式。RadioOption 数据类型为 string 或 number 时,表示 label 和 value 值相同。TS 类型:`Array<RadioOption>``type RadioOption = string \| number \| RadioOptionObj``interface RadioOptionObj { label?: string \| TNode; value?: string \| number \| boolean; disabled?: boolean }`。[通用类型定义](https://github.com/Tencent/tdesign-vue/blob/develop/src/common.ts)。[详细类型定义](https://github.com/Tencent/tdesign-vue/tree/develop/src/radio/type.ts) | N
37
+
readonly | Boolean | undefined | 只读状态 | N
35
38
size | String | medium | 组件尺寸【讨论中】。可选项:small/medium/large。TS 类型:`SizeEnum`。[通用类型定义](https://github.com/Tencent/tdesign-vue/blob/develop/src/common.ts) | N
36
-
value | String / Number / Boolean | - | 选中的值。支持语法糖 `v-model`。TS 类型:`T` | N
37
-
defaultValue | String / Number / Boolean | - | 选中的值。非受控属性。TS 类型:`T` | N
39
+
theme | String | radio | 组件风格。可选项:radio/button | N
40
+
value | String / Number / Boolean | - | 选中的值。支持语法糖 `v-model`。TS 类型:`T``type RadioValue = string \| number \| boolean`。[详细类型定义](https://github.com/Tencent/tdesign-vue/tree/develop/src/radio/type.ts) | N
41
+
defaultValue | String / Number / Boolean | - | 选中的值。非受控属性。TS 类型:`T``type RadioValue = string \| number \| boolean`。[详细类型定义](https://github.com/Tencent/tdesign-vue/tree/develop/src/radio/type.ts) | N
38
42
variant | String | outline | 单选组件按钮形式。可选项:outline/primary-filled/default-filled | N
39
-
onChange | Function | | TS 类型:`(value: T, context: { e: Event}) => void`<br/>选中值发生变化时触发 | N
43
+
onChange | Function | | TS 类型:`(value: T, context: { e: Event; name?:string }) => void`<br/>选中值发生变化时触发, `context.name` 指 RadioGroup 的 name 属性 | N
0 commit comments