From 647ae4fa96f3bfcc7c4bf0225cb41465867a566b Mon Sep 17 00:00:00 2001 From: Lison Date: Sat, 7 Oct 2017 17:41:37 +0800 Subject: [PATCH] update component badge --- src/components/badge/badge.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/badge/badge.vue b/src/components/badge/badge.vue index 688b462..2946f81 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; } -- libgit2 0.21.4