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 ```html
<template> <template>
<div>
<a-radio-group @change="onChange" v-model="value"> <a-radio-group @change="onChange" v-model="value">
<a-radio :value="1">A</a-radio> <a-radio :value="1">A</a-radio>
<a-radio :value="2">B</a-radio> <a-radio :value="2">B</a-radio>
<a-radio :value="3">C</a-radio> <a-radio :value="3">C</a-radio>
<a-radio :value="4">D</a-radio> <a-radio :value="4">D</a-radio>
</a-radio-group> </a-radio-group>
</div>
</template> </template>
<script> <script>
export default { export default {

View File

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