2018-03-21 07:45:01 +00:00
|
|
|
<cn>
|
|
|
|
#### 基本
|
|
|
|
最简单的用法。
|
|
|
|
</cn>
|
|
|
|
|
|
|
|
<us>
|
|
|
|
#### Basic
|
|
|
|
The simplest usage.
|
|
|
|
</us>
|
|
|
|
|
2019-10-09 10:32:23 +00:00
|
|
|
```tpl
|
2018-03-21 07:45:01 +00:00
|
|
|
<template>
|
2019-09-28 12:45:07 +00:00
|
|
|
<a-rate v-model="value" />
|
2018-03-21 07:45:01 +00:00
|
|
|
</template>
|
|
|
|
<script>
|
2019-09-28 12:45:07 +00:00
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
value: 2,
|
|
|
|
};
|
|
|
|
},
|
|
|
|
};
|
2018-03-21 07:45:01 +00:00
|
|
|
</script>
|
|
|
|
```
|