Commit f575eca7e2e07b3f72c556af971f736fd20960e1
1 parent
647ae4fa
update badge.vue
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/components/badge/badge.vue
@@ -53,7 +53,7 @@ | @@ -53,7 +53,7 @@ | ||
53 | 53 | ||
54 | if (this.dot) { | 54 | if (this.dot) { |
55 | status = true; | 55 | status = true; |
56 | - if (typeof this.count !== 'undefined') { | 56 | + if (this.count !== null) { |
57 | if (parseInt(this.count) === 0) { | 57 | if (parseInt(this.count) === 0) { |
58 | status = false; | 58 | status = false; |
59 | } | 59 | } |