From e20c00b978046bb77fc302aa0a49cda49f4f1345 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期三, 26 六月 2024 18:03:54 +0800
Subject: [PATCH] 完善计算
---
src/components/view/b4-daily-business-statistics.vue | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/components/view/b4-daily-business-statistics.vue b/src/components/view/b4-daily-business-statistics.vue
index e0bc0d3..d8c0c0c 100644
--- a/src/components/view/b4-daily-business-statistics.vue
+++ b/src/components/view/b4-daily-business-statistics.vue
@@ -179,7 +179,7 @@
},
handleData(val){
if(val){
- return Math.abs(val)*100;
+ return (Math.abs(val)*100).tofixed(0);
}else{
return '0'
}
--
Gitblit v1.9.3