Explorar o código

Badge: fix isDot not show

Pan %!s(int64=8) %!d(string=hai) anos
pai
achega
7b48feef8f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 }">