Badge: fix isDot not show

pull/2950/merge
Pan 2017-02-24 15:59:18 +08:00 committed by 杨奕
parent e06051adee
commit 7b48feef8f
1 changed files with 1 additions and 1 deletions

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 }">