From a2c7fca87d82c0b1ed348670b685d9f06638c365 Mon Sep 17 00:00:00 2001 From: betaqi <3188864257@qq.com> Date: Mon, 3 Nov 2025 10:28:42 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BD=BF=E7=94=A8=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E5=AF=B9=E9=BD=90=E4=BD=9C=E4=B8=BA=E6=8A=98=E7=BA=BF=E5=9B=BE?= =?UTF-8?q?x=E8=BD=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/stationData/component/newDataChart.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/stationData/component/newDataChart.vue b/src/views/stationData/component/newDataChart.vue index 0f55ae2..785d452 100644 --- a/src/views/stationData/component/newDataChart.vue +++ b/src/views/stationData/component/newDataChart.vue @@ -141,7 +141,7 @@ const chartOption = computed(() => { }, {} as Record), }, xAxis: { - type: 'category', + type: 'time', axisLine: { //y轴线的颜色以及宽度 show: true, @@ -152,8 +152,7 @@ const chartOption = computed(() => { }, axisLabel: { show: false, - }, - data: props.axisData, + } }, yAxis: { type: 'value',