修复总控草稿恢复后被清空

- 仅在非纯聊天模式清空聊天编辑器

- 保留纯聊天模式恢复的会话草稿
This commit is contained in:
2026-09-16 13:15:08 +08:00
parent 46e3cd9744
commit b607501916
+2 -1
View File
@@ -4374,8 +4374,9 @@ export function App({
chatComposerRef.current?.replaceText(
readSupervisorChatDraft(openedProject.projectPath),
);
} else {
clearChatComposer();
}
clearChatComposer();
setManifest(openedProject.manifest);
setProjectFiles([]);
setProjectCheckpoints([]);