element-plus/docs/examples/badge/dot.vue
2021-10-28 06:18:09 +08:00

18 lines
354 B
Vue

<template>
<el-badge is-dot class="item">query</el-badge>
<el-badge is-dot class="item">
<el-button class="share-button" :icon="Share" type="primary"></el-button>
</el-badge>
</template>
<script lang="ts" setup>
import { Share } from '@element-plus/icons'
</script>
<style scoped>
.item {
margin-top: 10px;
margin-right: 40px;
}
</style>