ant-design-vue/components/radio/demo/basic.vue

32 lines
426 B
Vue

<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>