mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-04 20:27:44 +08:00
31f713bf1b
feat(components): [rate] add clearable attribute
10 lines
147 B
Vue
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>
|