feat: 发送消息后,对话框自动收起
This commit is contained in:
parent
b97e96d29e
commit
fc1f38a545
|
|
@ -208,6 +208,7 @@ export function InputBox({
|
|||
if (!message.text) {
|
||||
return;
|
||||
}
|
||||
setIsFocused(false);
|
||||
onSubmit?.(message);
|
||||
},
|
||||
[onSubmit, onStop, status],
|
||||
|
|
|
|||
Loading…
Reference in New Issue