From d404f7f0ffb8b7b8b930a2b583afe2037cffc3f8 Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期五, 01 十二月 2023 13:58:03 +0800 Subject: [PATCH] 修改LineChart.vue位置 --- 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