From dc8184d5dda246a8a54ccb6f154d6a3cbd2734c5 Mon Sep 17 00:00:00 2001 From: yangsy Date: Sun, 17 May 2026 18:28:26 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=8F=90=E5=8F=96=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E7=A1=AC=E4=BB=B6=E5=8D=A1=E7=89=87=E4=B8=AD=E9=80=9A?= =?UTF-8?q?=E7=94=A8=E7=99=BE=E5=88=86=E6=AF=94=E8=A7=A3=E6=9E=90=E5=87=BD?= =?UTF-8?q?=E6=95=B0=E5=B9=B6=E4=BC=98=E5=8C=96=E7=A9=BA=E5=80=BC=E5=B1=95?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 提取统一的百分比字符串解析工具函数,替换原有重复的解析逻辑,新增空值或无效值时显示 `-` 的处理 --- .../current-diag/device-hardware-card.vue | 33 +++++++++++++------ 1 file changed, 23 insertions(+), 10 deletions(-) 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 0dc88f4..ff5b38c 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 @@ -1,3 +1,18 @@ + +