From 97c30a4853ab2eb7bc3be328f868ba2100b4bc92 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Mon, 22 Aug 2022 11:01:12 +0800 Subject: [PATCH] fix issue --- src/views/Summary.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Summary.vue b/src/views/Summary.vue index 3a249a94..8d804763 100644 --- a/src/views/Summary.vue +++ b/src/views/Summary.vue @@ -238,7 +238,7 @@ export default { return v2 } const d = parseFloat(v) - if (d === 0) return 0 + if (d === 0) return '0' if (d < 1.01) { return `${percent(d)}%` }