element-plus/docs/examples/rate/readonly.vue
2022-03-13 16:16:11 -04:00

16 lines
234 B
Vue

<template>
<el-rate
v-model="value"
disabled
show-score
text-color="#ff9900"
score-template="{value} points"
/>
</template>
<script lang="ts" setup>
import { ref } from 'vue'
const value = ref(3.7)
</script>