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.
32 lines
399 B
32 lines
399 B
<docs>
|
|
---
|
|
order: 0
|
|
title:
|
|
zh-CN: 基本用法
|
|
en-US: Basic usage
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
最简单的用法。
|
|
|
|
## en-US
|
|
|
|
The simplest usage.
|
|
|
|
</docs>
|
|
<template>
|
|
<a-rate v-model:value="value" />
|
|
</template>
|
|
<script lang="ts">
|
|
import { defineComponent, ref } from 'vue';
|
|
export default defineComponent({
|
|
setup() {
|
|
const value = ref<number>(2);
|
|
return {
|
|
value,
|
|
};
|
|
},
|
|
});
|
|
</script>
|