update badge.vue

This commit is contained in:
Lison 2017-10-09 10:28:37 +08:00
parent 647ae4fa96
commit f575eca7e2

View file

@ -53,7 +53,7 @@
if (this.dot) {
status = true;
if (typeof this.count !== 'undefined') {
if (this.count !== null) {
if (parseInt(this.count) === 0) {
status = false;
}