mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
Badge: fix isDot not show
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<slot></slot>
|
||||
<transition name="el-zoom-in-center">
|
||||
<sup
|
||||
v-show="!hidden && content"
|
||||
v-show="!hidden && ( content || isDot )"
|
||||
v-text="content"
|
||||
class="el-badge__content"
|
||||
:class="{ 'is-fixed': $slots.default, 'is-dot': isDot }">
|
||||
|
||||
Reference in New Issue
Block a user