From a9dbccafa4b9900c7cefdf77cca3812aa35e9929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Tue, 18 Aug 2026 11:54:00 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20UI=20=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E5=99=A8=E6=BC=94=E7=A4=BA=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 要求 UI 编辑器从项目工作区显式接收 projectPath 将旧 agent-chat 演示入口恢复为开发 Agent 面板 删除无效的 projectId 参数传递 --- .../src/view/project-development/index.tsx | 1 - apps/ai-game-creator-shell/src/view/ui-editor/index.tsx | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/ai-game-creator-shell/src/view/project-development/index.tsx b/apps/ai-game-creator-shell/src/view/project-development/index.tsx index 1da0ba139..3726dd0d8 100644 --- a/apps/ai-game-creator-shell/src/view/project-development/index.tsx +++ b/apps/ai-game-creator-shell/src/view/project-development/index.tsx @@ -3106,7 +3106,6 @@ export default function ProjectDevelopmentView({ setUiEditorRoute(null)} /> diff --git a/apps/ai-game-creator-shell/src/view/ui-editor/index.tsx b/apps/ai-game-creator-shell/src/view/ui-editor/index.tsx index 0d34107bd..4f36c3097 100644 --- a/apps/ai-game-creator-shell/src/view/ui-editor/index.tsx +++ b/apps/ai-game-creator-shell/src/view/ui-editor/index.tsx @@ -19,13 +19,13 @@ import { } from './useUiEditorPage'; export default function UiEditorPage({ - projectPath = '/tmp/ui_editor', + projectPath, resourceId, resourceLabel, onBack, stateStore = mockUiDesignStateStore, }: { - projectPath?: string; + projectPath: string; resourceId?: string; resourceLabel?: string; onBack?: () => void;