From 72085226bc9f82a9129b8fbcd17fab1edf9ef270 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期五, 05 一月 2024 15:08:19 +0800 Subject: [PATCH] 1. 修复飞行巡检模块中有效率异常详情弹出框无法正常显示的bug; 2.优化各异常类型的折线图配置项生成逻辑; --- 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