Commit ea89b2dfa3221c9e5708b31826e11e3d266acb91

Authored by Aresn
Committed by GitHub
2 parents 83942111 9f97a0d1

Merge pull request #2046 from lison16/2.0

update badge
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 (this.count) { 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 }