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