From b6075019167c67b620d382633b0df716da0bfde8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Wed, 16 Sep 2026 13:15:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=80=BB=E6=8E=A7=E8=8D=89?= =?UTF-8?q?=E7=A8=BF=E6=81=A2=E5=A4=8D=E5=90=8E=E8=A2=AB=E6=B8=85=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 仅在非纯聊天模式清空聊天编辑器 - 保留纯聊天模式恢复的会话草稿 --- apps/ai-game-creator-shell/src/App.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/ai-game-creator-shell/src/App.tsx b/apps/ai-game-creator-shell/src/App.tsx index 937e48ec6..c42c14175 100644 --- a/apps/ai-game-creator-shell/src/App.tsx +++ b/apps/ai-game-creator-shell/src/App.tsx @@ -4374,8 +4374,9 @@ export function App({ chatComposerRef.current?.replaceText( readSupervisorChatDraft(openedProject.projectPath), ); + } else { + clearChatComposer(); } - clearChatComposer(); setManifest(openedProject.manifest); setProjectFiles([]); setProjectCheckpoints([]);