diff --git a/wren-ui/src/components/pages/home/prompt/index.tsx b/wren-ui/src/components/pages/home/prompt/index.tsx index ed16d5a2b..98b975a20 100644 --- a/wren-ui/src/components/pages/home/prompt/index.tsx +++ b/wren-ui/src/components/pages/home/prompt/index.tsx @@ -131,7 +131,7 @@ export default forwardRef(function Prompt(props, ref) { const submitAsk = async () => { if (isProcessing || !question) return; - + askProcessState.resetState(); onSubmit && (await onSubmit(question)); };