Explorar el Código

Badge: fix isDot not show

Pan hace 8 años
padre
commit
7b48feef8f
Se han modificado 1 ficheros con 1 adiciones y 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 }">