mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-04-25 11:18:22 +00:00
fix: input text not clear when click submit button (#303)
This commit is contained in:
parent
447e427fd3
commit
397ac57235
@ -102,6 +102,7 @@ const MessageInput = forwardRef<MessageInputRef, MessageInputProps>(
|
||||
);
|
||||
onEnter(text, resources);
|
||||
}
|
||||
editorRef.current?.commands.clearContent();
|
||||
},
|
||||
setContent: (content: string) => {
|
||||
if (editorRef.current) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user