From 045f7a9a81e47e32e49fbc255368f5a9011d35a2 Mon Sep 17 00:00:00 2001 From: yangsy Date: Tue, 13 Jan 2026 13:49:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E7=A1=AC=E4=BB=B6=E5=8D=A0=E7=94=A8=E7=8E=87=E5=8D=A1=E7=89=87?= =?UTF-8?q?=E4=B8=ADshowCard=E8=AE=A1=E7=AE=97=E5=B1=9E=E6=80=A7=E6=9C=AA?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=8E=9F=E5=A7=8B=E5=80=BC=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/current-diag/device-hardware-card.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/device/device-card/components/current-diag/device-hardware-card.vue b/src/components/device/device-card/components/current-diag/device-hardware-card.vue index 6e34e50..0dc88f4 100644 --- a/src/components/device/device-card/components/current-diag/device-hardware-card.vue +++ b/src/components/device/device-card/components/current-diag/device-hardware-card.vue @@ -17,7 +17,7 @@ const props = defineProps<{ const { cpuUsage, memUsage, diskUsage, runningTime, cpuUsageLabel, memUsageLabel, diskUsageLabel, runningTimeLabel } = toRefs(props); const showCard = computed(() => { - return Object.values({ cpuUsage, memUsage, diskUsage, runningTime }).some((value) => !!value); + return Object.values({ cpuUsage, memUsage, diskUsage, runningTime }).some((refValue) => !!refValue.value); }); const cpuPercent = computed(() => {