diff --git a/frontend/src/components/agent/AgentWizard.tsx b/frontend/src/components/agent/AgentWizard.tsx index 06dae82..31bd17a 100644 --- a/frontend/src/components/agent/AgentWizard.tsx +++ b/frontend/src/components/agent/AgentWizard.tsx @@ -230,7 +230,8 @@ export function AgentWizard({ open, onOpenChange, server, onStart, onInstalled, return ( - + {/* 限制向导尺寸并允许内部滚动,避免长文案或窄屏突破弹窗边框。 // Logan.Li */} + {server ? `部署 Agent → ${server.hostname}` : i18n.t('agent.agentwizardtsx.s812cc1a5')} @@ -243,26 +244,26 @@ export function AgentWizard({ open, onOpenChange, server, onStart, onInstalled, - - - - - {isWindowsServer ? 'PowerShell 安装' : i18n.t('agent.agentwizardtsx.s1a2b3c4d')} + + + + + {isWindowsServer ? 'PowerShell 安装' : i18n.t('agent.agentwizardtsx.s1a2b3c4d')} {server && !isWindowsServer && ( - - - {i18n.t('agent.agentwizardtsx.s2b3c4d5e')} + + + {i18n.t('agent.agentwizardtsx.s2b3c4d5e')} )} {!server && ( - - - SSH一键安装 + + + SSH一键安装 )} - - {i18n.t('agent.agentwizardtsx.s3c4d5e6f')} + + {i18n.t('agent.agentwizardtsx.s3c4d5e6f')}