diff --git a/src/components/device/device-card/components/current-diag/security-box-env-card.vue b/src/components/device/device-card/components/current-diag/security-box-env-card.vue
index 188b171..780a2b1 100644
--- a/src/components/device/device-card/components/current-diag/security-box-env-card.vue
+++ b/src/components/device/device-card/components/current-diag/security-box-env-card.vue
@@ -35,11 +35,6 @@ const getStatusTagType = (status: string | null) => {
if (['失效', '开门'].includes(status ?? '')) return 'error';
return 'default';
};
-
-const formattedFanSpeeds = computed(() => {
- if (!fanSpeeds?.value || fanSpeeds.value.length === 0) return null;
- return fanSpeeds.value.map((speed, index) => `风扇${index + 1}: ${speed} RPM`).join(', ');
-});
@@ -49,7 +44,7 @@ const formattedFanSpeeds = computed(() => {
-
+
@@ -57,7 +52,7 @@ const formattedFanSpeeds = computed(() => {
温度: {{ temperature }}℃
-
+
@@ -65,15 +60,15 @@ const formattedFanSpeeds = computed(() => {
湿度: {{ humidity }}%
-
+
- 风扇: {{ formattedFanSpeeds }}
+ 风扇{{ index + 1 }}: {{ speed }} RPM
-
+
@@ -81,7 +76,7 @@ const formattedFanSpeeds = computed(() => {
门禁: {{ accessControlStatus }}
-
+