Commit 7b48feef authored by Pan's avatar Pan Committed by 杨奕

Badge: fix isDot not show

parent e06051ad
...@@ -3,7 +3,7 @@ ...@@ -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" v-show="!hidden && ( content || 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 }">
......
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