From 1eb94aed9b2395631821c2adb16aa7d50c9ad8aa Mon Sep 17 00:00:00 2001 From: jingna <1264204245@qq.com> Date: Fri, 26 Jun 2026 13:54:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/switchQuantity/index.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/src/views/switchQuantity/index.vue b/frontend/src/views/switchQuantity/index.vue index 44e1652..9f7ac2e 100644 --- a/frontend/src/views/switchQuantity/index.vue +++ b/frontend/src/views/switchQuantity/index.vue @@ -8,7 +8,7 @@ const { state, bootstrap } = usePlatformStore() const inputStates = computed(() => { if (!state.realtime?.switch) { - return [false, false, false, false, false, false, false, false, false, false, false, false] + return [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] } return Array.from({ length: 12 }, (_, i) => { const key = `di${i + 1}` @@ -18,7 +18,7 @@ const inputStates = computed(() => { const outputStates = computed(() => { if (!state.realtime?.switch) { - return [false, false, false, false, false, false, false, false, false, false, false, false] + return [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] } return Array.from({ length: 12 }, (_, i) => { const key = `do${i + 1}` @@ -89,9 +89,9 @@ onMounted(() => {