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 && ( )}