mirror of https://github.com/ElemeFE/element
Badge: fix hidden value of zero (#10470)
parent
a68a73df89
commit
5f019e8a60
|
@ -3,7 +3,7 @@
|
|||
<slot></slot>
|
||||
<transition name="el-zoom-in-center">
|
||||
<sup
|
||||
v-show="!hidden && ( content || isDot )"
|
||||
v-show="!hidden && (content || content === 0 || isDot)"
|
||||
v-text="content"
|
||||
class="el-badge__content"
|
||||
:class="{ 'is-fixed': $slots.default, 'is-dot': isDot }">
|
||||
|
|
Loading…
Reference in New Issue