diff --git a/app/canvas/[id]/page.tsx b/app/canvas/[id]/page.tsx index 83cbec17e..b8834441f 100644 --- a/app/canvas/[id]/page.tsx +++ b/app/canvas/[id]/page.tsx @@ -1646,15 +1646,6 @@ export default function CanvasEditorPage({ params }: PageProps) { ); const resolvedAgentProjectTitle = String(agentProjectTitle || "").trim() || "未命名生图项目"; - const agentProjectStatusLabel = isAgentProjectLoading - ? hasActiveAgentProject - ? "项目加载中..." - : "正在创建新项目..." - : isAgentProjectSaving - ? "自动保存中..." - : hasActiveAgentProject - ? "已自动保存" - : "准备创建项目..."; if (isLoading) { return ( @@ -1703,21 +1694,15 @@ export default function CanvasEditorPage({ params }: PageProps) { const agentProjectNavSlot = isAgentMode ? (
-
-
- 当前项目 -
-
+
+ {isAgentProjectLoading || isAgentProjectSaving ? ( + + ) : ( + + )} + {resolvedAgentProjectTitle} -
-
- {isAgentProjectLoading || isAgentProjectSaving ? ( - - ) : ( - - )} - {agentProjectStatusLabel} -
+