diff --git a/src/components/badge/badge.vue b/src/components/badge/badge.vue index 688b4626..2946f816 100644 --- a/src/components/badge/badge.vue +++ b/src/components/badge/badge.vue @@ -53,7 +53,7 @@ if (this.dot) { status = true; - if (this.count) { + if (typeof this.count !== 'undefined') { if (parseInt(this.count) === 0) { status = false; }