style(样式显示): 修改标签气泡显示重复问题

--user=郭雨琦
This commit is contained in:
guoyuqi 2022-11-09 16:29:06 +08:00 committed by xiaomeinvG
parent e5c044d512
commit 7c796158e2
1 changed files with 1 additions and 5 deletions

View File

@ -1,9 +1,5 @@
<template>
<el-tooltip placement="top" v-if="showTooltip">
<div slot="content">{{ content }}</div>
<el-tag :type="type" :effect="effect" :color="color" size="mini">{{ content }}</el-tag>
</el-tooltip>
<el-tag :type="type" :effect="effect" :color="color" size="mini" v-else>{{ content }}</el-tag>
<el-tag :type="type" :effect="effect" :color="color" size="mini" >{{ content }}</el-tag>
</template>
<script>