From 61adb5c8aeb90dadf958d6308aba5e002c40c88d Mon Sep 17 00:00:00 2001 From: zhongzm Date: Thu, 25 Sep 2025 16:46:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=BF=AE=E6=AD=A3=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E5=8D=95=E4=BD=8D=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/perfManage/overview/index.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/perfManage/overview/index.vue b/src/views/perfManage/overview/index.vue index 4111bf91..f99e0daf 100644 --- a/src/views/perfManage/overview/index.vue +++ b/src/views/perfManage/overview/index.vue @@ -2075,9 +2075,9 @@ function calculateTimeDifference(latestData: any, previousData: any) { // 根据时间差返回合适的格式 if (diffMinutes > 0) { - return `${diffMinutes}m` + return `${diffMinutes} Min` } else { - return `${diffSeconds}s` + return `${diffSeconds} Second` } } @@ -2117,11 +2117,11 @@ function calculateMosCctTimeDifference(latestData: any, previousData: any) { // 根据时间差返回合适的格式 if (diffHours > 0) { - return `${diffHours}h` + return `${diffHours} Hour` } else if (diffMinutes > 0) { - return `${diffMinutes}m` + return `${diffMinutes} Min` } else { - return `${diffSeconds}s` + return `${diffSeconds} Second` } }