fix: radio demo

pull/309/head
wangxueliang 2018-12-15 16:54:26 +08:00
parent 2a64547d26
commit fb3df9e9d0
2 changed files with 12 additions and 10 deletions

View File

@ -10,12 +10,14 @@ A group of radio components.
```html
<template>
<a-radio-group @change="onChange" v-model="value">
<a-radio :value="1">A</a-radio>
<a-radio :value="2">B</a-radio>
<a-radio :value="3">C</a-radio>
<a-radio :value="4">D</a-radio>
</a-radio-group>
<div>
<a-radio-group @change="onChange" v-model="value">
<a-radio :value="1">A</a-radio>
<a-radio :value="2">B</a-radio>
<a-radio :value="3">C</a-radio>
<a-radio :value="4">D</a-radio>
</a-radio-group>
</div>
</template>
<script>
export default {

View File

@ -1,11 +1,11 @@
<cn>
#### 单选组合
一组互斥的 Radio 配合使用
#### 大小
大中小三种组合,可以和表单输入框进行对应配合
</cn>
<us>
#### Radio Group
A group of radio components.
#### size
There are three sizes available: large, medium, and small. It can coordinate with input box.
</us>
```html