From e9df8bcc572fc8a19b7258fa29bd42b53104ee19 Mon Sep 17 00:00:00 2001 From: guoapeng Date: Fri, 4 Jul 2025 21:43:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9B=BE=E8=A1=A8=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/chart.vue | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/views/home/chart.vue b/src/views/home/chart.vue index 32495ef..6dc0321 100644 --- a/src/views/home/chart.vue +++ b/src/views/home/chart.vue @@ -86,11 +86,6 @@ const operationState = computed(() => { let poll = null const getData = async () => { - const res = await syncSendCmd({ - className: 'DisinfectionCtrlServiceExt', - fnName: 'getState', - }) - console.log(res.rely.startTimestamp) const data = await syncSendCmd({ className: 'H2O2SensorMgr', fnName: 'getH2O2SensorList', @@ -100,13 +95,11 @@ const getData = async () => { const item: any = chartList.value[i] const list = await syncSendCmd({ className: 'H2O2SensorMgr', - fnName: 'getH2O2DataRecordList', + fnName: 'getDisinfectionH2O2DataRecordList', params: { type: item.type, id: item.id, - since: res.rely?.startTimestamp, interval: 30, - before: 0, }, }) chartList.value[i].data = list.rely