From 3ccfb7869a15a540580e778639206bbe81f540f5 Mon Sep 17 00:00:00 2001 From: betaqi <3188864257@qq.com> Date: Thu, 29 May 2025 15:55:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=82=B9=E4=BD=8D=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E5=90=8E=E5=8F=96=E6=B6=88=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/stationData/components/deviceDrawer.vue | 1 + src/views/stationData/transferData.vue | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/views/stationData/components/deviceDrawer.vue b/src/views/stationData/components/deviceDrawer.vue index 7e716f0..da7f421 100644 --- a/src/views/stationData/components/deviceDrawer.vue +++ b/src/views/stationData/components/deviceDrawer.vue @@ -172,6 +172,7 @@ async function loadChardData() { pointData.value = Array.isArray(res.data.results) ? res.data.results : [] chartDatas.clear() axisData.clear() + legends.value = [] for (const addr of columsParams.value.filter(i => i !== 'ts')) { const label = pointList.value.find(i => i.addr === addr)?.label || addr const find = legends.value.find(i => i.addr === addr) diff --git a/src/views/stationData/transferData.vue b/src/views/stationData/transferData.vue index baf680b..94dfeac 100644 --- a/src/views/stationData/transferData.vue +++ b/src/views/stationData/transferData.vue @@ -18,7 +18,6 @@ -
@@ -720,7 +719,6 @@ function zmqImportCb(msg: PubMsgData) { if (code === ZmqMsgResultType.PROGRESS) { onOffDeviceTransferStatus.value = 'progress' const log: string = Array.isArray(feedback) ? feedback[0] || '' : '' - console.log(log) const isLineFeed = log && log.includes('\n') if (isLineFeed) { if (importMsg.value) {