Badge: fix isDot not show

This commit is contained in:
Pan
2017-02-24 15:59:18 +08:00
committed by 杨奕
parent e06051adee
commit 7b48feef8f

View File

@@ -3,7 +3,7 @@
<slot></slot>
<transition name="el-zoom-in-center">
<sup
v-show="!hidden && content"
v-show="!hidden && ( content || isDot )"
v-text="content"
class="el-badge__content"
:class="{ 'is-fixed': $slots.default, 'is-dot': isDot }">