Commit 212f5a1b authored by tyyin lan's avatar tyyin lan

chore(首页): 调整回答loading更改时机

parent 486401d1
......@@ -162,12 +162,13 @@ function questionSubmit() {
messageListScrollToBottomThrottle()
},
onend: () => {
setTimeout(() => {
emit('updateSpecifyMessageItem', currentLatestMessageItemKeyMap.value.get('assistant')!, {
content: messageContent,
isAnswerLoading: false,
})
messageListScrollToBottomThrottle()
}, 500)
},
onclose: () => {
isAgentResponding.value = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment