From 61279cfdc55eb097446916805eb2769adb250ef8 Mon Sep 17 00:00:00 2001 From: Sun <95302870@qq.com> Date: Wed, 17 Jan 2024 15:05:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=86=85=E5=AD=98=E7=9A=84?= =?UTF-8?q?=E5=9C=A8docker=E7=8E=AF=E5=A2=83=E4=B8=AD=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=EF=BC=8C=E9=87=87=E7=94=A8=E8=AE=A1?= =?UTF-8?q?=E7=AE=97=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../deskModule/SystemMonitor/AppIconSystemMonitor/Memory.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/deskModule/SystemMonitor/AppIconSystemMonitor/Memory.vue b/src/components/deskModule/SystemMonitor/AppIconSystemMonitor/Memory.vue index 1453808..c9e1b1f 100644 --- a/src/components/deskModule/SystemMonitor/AppIconSystemMonitor/Memory.vue +++ b/src/components/deskModule/SystemMonitor/AppIconSystemMonitor/Memory.vue @@ -56,7 +56,7 @@ onUnmounted(() => { :progress-height="5" :percentage="correctionNumber(memoryState?.usedPercent || 0)" :card-type-style="cardTypeStyle" - :info-card-right-text="`${formatMemorySize(memoryState?.total || 0)}/${formatMemorySize(memoryState?.free || 0)}`" + :info-card-right-text="`${formatMemorySize(memoryState?.used || 0)}/${formatMemorySize((memoryState?.total || 0) - (memoryState?.used || 0) || 0)}`" info-card-left-text="RAM" :text-color="textColor" />