feat: 发送消息后,对话框自动收起
This commit is contained in:
parent
b97e96d29e
commit
fc1f38a545
|
|
@ -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],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue