单选框组件,继承Base, 支持 el-radio、el-radio-group 的属性、事件、方法
- Source:
module:$ui/components/my-radio
- Source:
Properties:
Name | Type | Description |
---|---|---|
loading |
string | 定义加载中内容 |
option |
string | 作用域插槽,参数 item, index |
插槽
Members
(inner) props
- Source:
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
value |
* |
<optional> |
值,支持双向绑定 |
|
button |
boolean |
<optional> |
按钮模式,group=true 才有效 |
|
group |
boolean |
<optional> |
使用组模式 |
|
optionWidth |
string |
<optional> |
选项的宽度,支持像素、百分比、表达式, 仅对group为true, button为false才有效 |
|
loadingText |
string |
<optional> |
正在加载选项数据...
|
加载中提示, 可以插槽定义 |
通用参数之外的扩展参数