mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 01:41:20 +08:00
16 lines
234 B
Vue
16 lines
234 B
Vue
|
<template>
|
||
|
<el-rate v-model="value" allow-half />
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts">
|
||
|
import { defineComponent, ref } from 'vue'
|
||
|
|
||
|
export default defineComponent({
|
||
|
setup() {
|
||
|
return {
|
||
|
value: ref(null),
|
||
|
}
|
||
|
},
|
||
|
})
|
||
|
</script>
|