From 58c567e1a839a4d81f2eb70f4615ee7a81dbcc89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=A2=A6=E8=BF=9C?= <1063331231@qq.com> Date: Thu, 3 Jul 2025 16:24:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=80=E6=9C=89=E7=9A=84=E4=B8=8A=E6=8A=A5?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E5=AD=98=E5=82=A8=E5=88=B0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/system/ErrorEventsModal.vue | 8 ++++---- src/layouts/default.vue | 32 ++++++++++++++---------------- src/stores/systemStore.ts | 16 ++++++++++----- 3 files changed, 30 insertions(+), 26 deletions(-) diff --git a/src/components/system/ErrorEventsModal.vue b/src/components/system/ErrorEventsModal.vue index 0ac5eb5..a2c8608 100644 --- a/src/components/system/ErrorEventsModal.vue +++ b/src/components/system/ErrorEventsModal.vue @@ -2,13 +2,13 @@ import { ref, watchEffect } from 'vue' import { syncSendCmd } from '@/apis/system' -// import { useDeviceStore } from '@/stores/deviceStore' +import { useDeviceStore } from '@/stores/deviceStore' -// const deviceStore = useDeviceStore() +const deviceStore = useDeviceStore() const appEvents = ref[]>([]) watchEffect(() => { - // appEvents.value = deviceStore.deviceStete.appEvents + appEvents.value = deviceStore.deviceStete.appEvents }) const confirmClose = (item: Record) => { @@ -41,7 +41,7 @@ const confirmClose = (item: Record) => { {{ checkItem.ecodeInfo }} - + {{ item.description || item.message }}