File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,14 @@ A group of radio components.
10
10
11
11
``` html
12
12
<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 >
19
21
</template >
20
22
<script >
21
23
export default {
Original file line number Diff line number Diff line change 1
1
<cn >
2
- #### 单选组合
3
- 一组互斥的 Radio 配合使用 。
2
+ #### 大小
3
+ 大中小三种组合,可以和表单输入框进行对应配合 。
4
4
</cn >
5
5
6
6
<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 .
9
9
</us >
10
10
11
11
``` html
You can’t perform that action at this time.
0 commit comments