mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
26 lines
406 B
Markdown
26 lines
406 B
Markdown
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
radio: '1'
|
|
};
|
|
}
|
|
};
|
|
</script>
|
|
|
|
## Radio组件
|
|
|
|
### 基础用法
|
|
|
|
:::demo
|
|
```html
|
|
<o2-radio v-model="radio"></o2-radio>
|
|
```
|
|
:::
|
|
|
|
### API
|
|
|
|
| 参数 | 说明 | 类型 | 默认值 | 可选值 |
|
|
|-----------|-----------|-----------|-------------|-------------|
|
|
| disabled | 是否禁用单选框 | Boolean | false | |
|