From 2e81dd5430b7a5b27c081b576889010f06f4bd48 Mon Sep 17 00:00:00 2001 From: WX <1377869194@qq.com> Date: 星期一, 18 九月 2023 10:36:50 +0800 Subject: [PATCH] 数值调整 --- src/components/BarGraph.vue | 2 +- src/views/plotting/plottingInquire.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/BarGraph.vue b/src/components/BarGraph.vue index 6041010..72e0d0b 100644 --- a/src/components/BarGraph.vue +++ b/src/components/BarGraph.vue @@ -169,7 +169,7 @@ backgroundColor: "#6a7985", }, }, - formatter: "璺濈锛歿b}m <br> 鏁板�硷細{c}", //{a}锛堢郴鍒楀悕绉帮級锛寋b}锛堟暟鎹」鍚嶇О锛夛紝{c}锛堟暟鍊硷級, {d}锛堢櫨鍒嗘瘮锛� + formatter: "鏁板�硷細{c} <br> 璺濈锛歿b}m", //{a}锛堢郴鍒楀悕绉帮級锛寋b}锛堟暟鎹」鍚嶇О锛夛紝{c}锛堟暟鍊硷級, {d}锛堢櫨鍒嗘瘮锛� }, yAxis: { type: "value", diff --git a/src/views/plotting/plottingInquire.vue b/src/views/plotting/plottingInquire.vue index 8a6598f..ce948db 100644 --- a/src/views/plotting/plottingInquire.vue +++ b/src/views/plotting/plottingInquire.vue @@ -392,7 +392,7 @@ if (dt.code !== 200) { return ElMessage.error("鏌ヨ閿欒"); } - console.log(dt); + dt.result.forEach((e) => { if (e.code != 200) { e.avg = "-"; -- Gitblit v1.9.3