mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 05:12:39 +00:00
feat: comment (#2697)
This commit is contained in:
@@ -537,6 +537,7 @@ const ChatBox = (
|
||||
|
||||
if (!err?.responseText) {
|
||||
resetInputVal({ text, files });
|
||||
// 这里的 newChatList 没包含用户交互输入的内容,所以重置后刚好是正确的。
|
||||
setChatHistories(newChatList.slice(0, newChatList.length - 2));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user