Commit 5f019e8a authored by 杨奕's avatar 杨奕 Committed by GitHub

Badge: fix hidden value of zero (#10470)

parent a68a73df
......@@ -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 }">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment