mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-15 09:21:25 +08:00
18 lines
346 B
Vue
18 lines
346 B
Vue
<template>
|
|
<RadioGroup name="radioGroup" :defaultValue="1">
|
|
<Radio :value="1">A</Radio>
|
|
<Radio :value="2">B</Radio>
|
|
<Radio :value="3">C</Radio>
|
|
<Radio :value="4">D</Radio>
|
|
</RadioGroup>
|
|
</template>
|
|
<script>
|
|
import { Radio } from 'antd'
|
|
export default {
|
|
components: {
|
|
Radio,
|
|
RadioGroup: Radio.Group,
|
|
},
|
|
}
|
|
</script>
|