Radio 单选框
规则
js
{
type:"radio",
title:"是否包邮",
field:"is_postage",
value:"0",
options:[
{value:"0",label:"不包邮",disabled:false},
{value:"1",label:"包邮",disabled:true},
],
}完整配置项:arco-design_Radio
value :String | Number
Options
| 字段名 | 说明 | 字段类型 | 是否必填 | 默认值 |
|---|---|---|---|---|
| value | 参数值 | String,Number | true | - |
| label | 字段别名 | String | true | - |
| disabled | 设置为禁用状态 | Boolean | false | false |
Props
| 参数名 | 描述 | 类型 | 默认值 |
|---|---|---|---|
| type | 单选框组的类型 | 'radio' | 'button' | 'radio' |
| size | 单选框组的尺寸 | 'mini' | 'small' | 'medium' | 'large' | - |
| direction | 单选框组的方向 | 'horizontal' | 'vertical' | 'horizontal' |
| disabled | 是否禁用 | boolean | false |
Events
| 事件名 | 描述 | 参数 |
|---|---|---|
| change | 值改变时触发 | value: `(string |


