Browse Source

Badge: fix isDot not show

Pan 8 years ago
parent
commit
7b48feef8f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/badge/src/main.vue

+ 1 - 1
packages/badge/src/main.vue

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