From d90d22d08c20f005e5511fac4571efe223373682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E5=87=A4=E5=90=89?= Date: Mon, 14 Jul 2025 16:08:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=A0=BC=E5=BC=8F=E5=8C=96=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/audit/History.vue | 1 - src/stores/debugStore.ts | 6 +++--- src/views/gas/index.vue | 4 +++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/audit/History.vue b/src/components/audit/History.vue index 3eb980d..b4fe8fe 100644 --- a/src/components/audit/History.vue +++ b/src/components/audit/History.vue @@ -3,7 +3,6 @@ import { syncSendCmd } from 'apis/system' import { ElLoading } from 'element-plus' import { FtMessage } from 'libs/message' -import { useSystemStore } from 'stores/systemStore' import { onMounted, ref } from 'vue' import HistoryDetail from '../setting/HistoryDetail.vue' diff --git a/src/stores/debugStore.ts b/src/stores/debugStore.ts index a48cac2..9cf64ee 100644 --- a/src/stores/debugStore.ts +++ b/src/stores/debugStore.ts @@ -1,8 +1,8 @@ import { defineStore } from 'pinia' import { ref } from 'vue'/** - * 主页数据管理模块 - * @module useHomeStore - */ + * 主页数据管理模块 + * @module useHomeStore + */ export const useDebugStore = defineStore('debug', () => { // 状态定义 const debugPageState = ref() diff --git a/src/views/gas/index.vue b/src/views/gas/index.vue index c48c449..79825f2 100644 --- a/src/views/gas/index.vue +++ b/src/views/gas/index.vue @@ -60,7 +60,9 @@ const selectChannel = (channel: string, event: any) => { stroke-linecap="round" /> -

{{ gasStore.isOnline ? '已连接' : '未连接' }}

+

+ {{ gasStore.isOnline ? '已连接' : '未连接' }} +

当前通道:{{ gasStore.currentChannel === gasStore.channelSwitcherMap[0] ? '降解通道' : gasStore.currentChannel === gasStore.channelSwitcherMap[1] ? '消毒通道' : '除湿通道' }}