From d1ccf7e1835b3c583da16d90a286e749d5e27c84 Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期四, 07 十二月 2023 14:15:20 +0800 Subject: [PATCH] 修改无数据时段的算法 --- src/utils/common.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/utils/common.js b/src/utils/common.js index 54f6dae..9917e01 100644 --- a/src/utils/common.js +++ b/src/utils/common.js @@ -112,7 +112,7 @@ * @returns */ function percentFormatter(v) { - return v * 100 + '%' + return Math.round(v * 100, 2) + '%' } return { isExceedOneMonth, cmpp, exportToExcel, descFiftyTime, percentFormatter } -- Gitblit v1.9.3