mirror of https://github.com/ElemeFE/element
Badege: hidden when no value, fixed #2733
parent
474084e63d
commit
54793283ad
|
@ -3,7 +3,7 @@
|
|||
<slot></slot>
|
||||
<transition name="el-zoom-in-center">
|
||||
<sup
|
||||
v-show="!hidden"
|
||||
v-show="!hidden && content"
|
||||
v-text="content"
|
||||
class="el-badge__content"
|
||||
:class="{ 'is-fixed': $slots.default, 'is-dot': isDot }">
|
||||
|
|
Loading…
Reference in New Issue