From 9c1d136e4f5ed9b5bce100147edbb52486da985a Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期五, 08 十二月 2023 13:57:32 +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