mirror of https://github.com/ElemeFE/element
Badge: fix hidden value of zero (#10470)
parent
a68a73df89
commit
5f019e8a60
|
@ -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 && ( content || isDot )"
|
v-show="!hidden && (content || content === 0 || isDot)"
|
||||||
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