You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design-vue/components/radio/demo/basic.vue

32 lines
426 B

<docs>
---
order: 0
title:
zh-CN: 基本用法
en-US: Basic usage
---
## zh-CN
最简单的用法
## en-US
The simplest usage.
</docs>
<template>
<a-radio v-model:checked="checked">Radio</a-radio>
</template>
<script lang="ts">
import { defineComponent, ref } from 'vue';
export default defineComponent({
setup() {
const checked = ref<boolean>(false);
return {
checked,
};
},
});
</script>