From 60f00d62de7bccdd7d6082cf7049c9c57b41aa22 Mon Sep 17 00:00:00 2001 From: shijing Date: Thu, 4 Sep 2025 11:08:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=9B=91=E6=B5=8B=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=9B=BE=E8=A1=A8=E4=B8=AD=E6=95=B0=E5=AD=97=E4=BF=9D=E7=95=99?= =?UTF-8?q?=E4=B8=89=E4=BD=8D=E5=B0=8F=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/monitor_detail.vue | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/views/wpm_bx/monitor_detail.vue b/src/views/wpm_bx/monitor_detail.vue index 153a41ef..45189607 100644 --- a/src/views/wpm_bx/monitor_detail.vue +++ b/src/views/wpm_bx/monitor_detail.vue @@ -74,11 +74,6 @@ export default { bottom: "3%", containLabel: true, }, - // toolbox: { - // feature: { - // saveAsImage: {}, - // }, - // }, xAxis: { type: "category", boundaryGap: false, @@ -135,7 +130,8 @@ export default { that.$API.enm.mplogx.req(params).then((res) => { res.forEach(item=>{ that.option.xAxis.data.push(item.timex); - that.option.series.data.push(item.val_float); + let value = Number(item.val_float).toFixed(3); + that.option.series.data.push(value); }) }) }