feat: 发送消息后,对话框自动收起

This commit is contained in:
肖应宇 2026-03-23 11:31:31 +08:00
parent b97e96d29e
commit fc1f38a545
1 changed files with 1 additions and 0 deletions

View File

@ -208,6 +208,7 @@ export function InputBox({
if (!message.text) { if (!message.text) {
return; return;
} }
setIsFocused(false);
onSubmit?.(message); onSubmit?.(message);
}, },
[onSubmit, onStop, status], [onSubmit, onStop, status],