From e94ea7f723e616a0566ac5c7f9d77435333d9e92 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期六, 11 五月 2024 17:38:20 +0800 Subject: [PATCH] 实时走航 --- src/components/chart/GaugeChart.vue | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/components/monitor/GaugeChart.vue b/src/components/chart/GaugeChart.vue similarity index 94% rename from src/components/monitor/GaugeChart.vue rename to src/components/chart/GaugeChart.vue index 592f4b2..e13c72f 100644 --- a/src/components/monitor/GaugeChart.vue +++ b/src/components/chart/GaugeChart.vue @@ -26,7 +26,7 @@ this.gaugeChart.setOption(this.option); }, refreshChart(e) { - this.option.data[0].value = e; + this.option.series[0].data[0].value = e; this.gaugeChart.setOption(this.option); } }, -- Gitblit v1.9.3