From f7d1d2d44ce711213ba23b118609d279268f7d98 Mon Sep 17 00:00:00 2001 From: yangsy Date: Mon, 1 Dec 2025 11:30:08 +0800 Subject: [PATCH] fix(security-box-info-card): access status --- .../device-card/current-diag-card/security-box-info-card.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/device-page/device-card/current-diag-card/security-box-info-card.vue b/src/components/device-page/device-card/current-diag-card/security-box-info-card.vue index daf98eb..674f793 100644 --- a/src/components/device-page/device-card/current-diag-card/security-box-info-card.vue +++ b/src/components/device-page/device-card/current-diag-card/security-box-info-card.vue @@ -20,7 +20,7 @@ const cardShow = computed(() => { // 门禁状态 (switches[0]: 0=关闭/失效, 1=打开/生效) const accessControlStatus = computed(() => { if (!switches?.value || switches.value.length === 0) return null; - return switches.value[0] === 1 ? '打开' : '关闭'; + return switches.value[0] === 0 ? '打开' : '关闭'; }); // 防雷状态 (switches[1]: 0=关闭/失效, 1=打开/生效)