From 567958a9e99fd16724c46af189016228d0669016 Mon Sep 17 00:00:00 2001 From: guoapeng Date: Mon, 2 Jun 2025 21:16:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=8A=B6=E6=80=81=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.vue | 1 + src/components/home/AddLiquid/index.vue | 6 +++++- src/components/home/Tube/index.vue | 13 +++++++++++-- src/stores/systemStore.ts | 30 +++++++++++------------------- src/types/system.d.ts | 2 +- 5 files changed, 29 insertions(+), 23 deletions(-) diff --git a/src/app.vue b/src/app.vue index 5263ecf..1a9b861 100644 --- a/src/app.vue +++ b/src/app.vue @@ -14,6 +14,7 @@ onMounted(async () => { }) socket.init((data: System.SystemStatus) => { + console.log(data) systemStore.updateSystemStatus(data) }, 'status') diff --git a/src/components/home/AddLiquid/index.vue b/src/components/home/AddLiquid/index.vue index 9131b04..fc23519 100644 --- a/src/components/home/AddLiquid/index.vue +++ b/src/components/home/AddLiquid/index.vue @@ -1,4 +1,5 @@