From 299dbe76c90366892e69013e83fea129b6d453a6 Mon Sep 17 00:00:00 2001 From: ZLY Date: Thu, 4 Dec 2025 11:22:45 +0800 Subject: [PATCH] =?UTF-8?q?feat(componentDeployment):=20=E6=A0=B9=E6=8D=AE?= =?UTF-8?q?=E8=BF=90=E8=A1=8C=E7=B1=BB=E5=9E=8B=E6=8E=A7=E5=88=B6=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../componentDeployment/listNode.tsx | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/src/pages/componentDevelopment/componentDeployment/listNode.tsx b/src/pages/componentDevelopment/componentDeployment/listNode.tsx index 8dbf351..46976cf 100644 --- a/src/pages/componentDevelopment/componentDeployment/listNode.tsx +++ b/src/pages/componentDevelopment/componentDeployment/listNode.tsx @@ -357,19 +357,24 @@ const ListNode: React.FC = ({ componentData }) => { // 根据运行状态判断显示启动还是停止按钮 const isRunning = record.runStatus === runStatusConstant.RUN || record.runStatus === runStatusConstant.HEALTHY; const isRefreshing = refreshingIds.has(record.id); + const isLocalRun = record.runType === 'LOCAL'; return (
- - + {!isLocalRun && ( + <> + + + + )} {!isRunning && ( )}