From ae3ba601913c5a39e7296c0d1da5f49b0ec72a3e Mon Sep 17 00:00:00 2001 From: zhangyibo95 <690096405@qq.com> Date: Thu, 24 Sep 2026 17:10:10 +0800 Subject: [PATCH] =?UTF-8?q?update=EF=BC=9A=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/device/composables/useDeviceStatus.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/device/composables/useDeviceStatus.js b/src/pages/device/composables/useDeviceStatus.js index 3c1c2c4..57d5b44 100644 --- a/src/pages/device/composables/useDeviceStatus.js +++ b/src/pages/device/composables/useDeviceStatus.js @@ -82,8 +82,7 @@ export function useDeviceStatus({ const maskedDeviceId = computed(() => { const id = String(device.value.deviceId || ""); if (!id) return "暂无设备编号"; - if (id.length <= 3) return id; - return `${"*".repeat(Math.min(5, id.length - 3))}${id.slice(-3)}`; + return "*****"; }); const deviceRows = computed(() => [ { label: "设备型号", value: deviceDetails.value.model || "射灵智能弓" },