Skip to content

Commit fb3df9e

Browse files
committed
fix: radio demo
1 parent 2a64547 commit fb3df9e

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

components/radio/demo/radioGroup.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ A group of radio components.
1010

1111
```html
1212
<template>
13-
<a-radio-group @change="onChange" v-model="value">
14-
<a-radio :value="1">A</a-radio>
15-
<a-radio :value="2">B</a-radio>
16-
<a-radio :value="3">C</a-radio>
17-
<a-radio :value="4">D</a-radio>
18-
</a-radio-group>
13+
<div>
14+
<a-radio-group @change="onChange" v-model="value">
15+
<a-radio :value="1">A</a-radio>
16+
<a-radio :value="2">B</a-radio>
17+
<a-radio :value="3">C</a-radio>
18+
<a-radio :value="4">D</a-radio>
19+
</a-radio-group>
20+
</div>
1921
</template>
2022
<script>
2123
export default {

components/radio/demo/size.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<cn>
2-
#### 单选组合
3-
一组互斥的 Radio 配合使用
2+
#### 大小
3+
大中小三种组合,可以和表单输入框进行对应配合
44
</cn>
55

66
<us>
7-
#### Radio Group
8-
A group of radio components.
7+
#### size
8+
There are three sizes available: large, medium, and small. It can coordinate with input box.
99
</us>
1010

1111
```html

0 commit comments

Comments
 (0)