From 4718095f97ca224c39f91157c08dc20a4531565e Mon Sep 17 00:00:00 2001 From: attacker Date: Wed, 24 Jun 2026 16:54:58 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=BB=E6=9C=BA=E7=9B=91=E6=8E=A7?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E4=B8=BB=E6=9C=BA=E5=90=8D=20-=20=E7=A7=BB?= =?UTF-8?q?=E9=99=A4select=E6=97=81=E5=86=97=E4=BD=99hostname=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/HostMonitor.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/pages/HostMonitor.tsx b/frontend/src/pages/HostMonitor.tsx index 5ed5316..efba2c5 100644 --- a/frontend/src/pages/HostMonitor.tsx +++ b/frontend/src/pages/HostMonitor.tsx @@ -294,8 +294,7 @@ export function HostMonitor() { {serverInfo && ( - {selectedHost} - {serverInfo.os || ''} | {serverInfo.cpu_cores || '?'} 核 | {serverInfo.mem_total ? `${serverInfo.mem_total.toFixed(0)}GB` : '?'} + {serverInfo.os || ''}{serverInfo.cpu_cores ? ` | ${serverInfo.cpu_cores} 核` : ''}{serverInfo.mem_total ? ` | ${serverInfo.mem_total.toFixed(0)}GB` : ''} )}