修复建议命令草稿残留引用

- 准备命令草稿前先清空编辑器

- 避免提交用户上一轮选择的素材引用
This commit is contained in:
2026-09-16 13:16:07 +08:00
parent b607501916
commit 30e27abc60
+1
View File
@@ -4615,6 +4615,7 @@ export function App({
}
function prepareChatCommandDraft(commandDraft: string) {
chatComposerRef.current?.clear();
chatComposerRef.current?.replaceText(commandDraft);
window.setTimeout(() => chatInputRef.current?.focus(), 0);
}