feat(components): [rate] add clearable attribute (#10031)

feat(components): [rate] add clearable attribute
This commit is contained in:
Hefty
2022-10-11 10:21:19 +08:00
committed by GitHub
parent 0efa33f3c4
commit 31f713bf1b
5 changed files with 59 additions and 8 deletions

View File

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