Commit 54793283 authored by qingwei.li's avatar qingwei.li Committed by 杨奕

Badege: hidden when no value, fixed #2733

parent 474084e6
......@@ -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 }">
......
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