element-plus/docs/examples/rate/clearable.vue
Hefty 31f713bf1b
feat(components): [rate] add clearable attribute (#10031)
feat(components): [rate] add clearable attribute
2022-10-11 10:21:19 +08:00

10 lines
147 B
Vue

<template>
<el-rate v-model="value" clearable />
</template>
<script lang="ts" setup>
import { ref } from 'vue'
const value = ref(3)
</script>