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

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

parent 486401d1
...@@ -162,12 +162,13 @@ function questionSubmit() { ...@@ -162,12 +162,13 @@ function questionSubmit() {
messageListScrollToBottomThrottle() messageListScrollToBottomThrottle()
}, },
onend: () => { onend: () => {
emit('updateSpecifyMessageItem', currentLatestMessageItemKeyMap.value.get('assistant')!, { setTimeout(() => {
content: messageContent, emit('updateSpecifyMessageItem', currentLatestMessageItemKeyMap.value.get('assistant')!, {
isAnswerLoading: false, isAnswerLoading: false,
}) })
messageListScrollToBottomThrottle() messageListScrollToBottomThrottle()
}, 500)
}, },
onclose: () => { onclose: () => {
isAgentResponding.value = false 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