Commit d33fad11 authored by shirlyn.guo's avatar shirlyn.guo 👌🏻

Merge branch 'master' of https://gitlab.gsstcloud.com/poc/poc-fe into shirlyn

parents 5cd5c17f 5270fd70
......@@ -162,12 +162,13 @@ function questionSubmit() {
messageListScrollToBottomThrottle()
},
onend: () => {
emit('updateSpecifyMessageItem', currentLatestMessageItemKeyMap.value.get('assistant')!, {
content: messageContent,
isAnswerLoading: false,
})
setTimeout(() => {
emit('updateSpecifyMessageItem', currentLatestMessageItemKeyMap.value.get('assistant')!, {
isAnswerLoading: false,
})
messageListScrollToBottomThrottle()
messageListScrollToBottomThrottle()
}, 500)
},
onclose: () => {
isAgentResponding.value = false
......@@ -263,7 +264,11 @@ function handleQuestionSubmitEnter(event: KeyboardEvent) {
:class="{ 'bg-px-home-cuixiang_icon-png': !item.agentAvatar }"
:style="{ backgroundImage: `url(${item.agentAvatar})` }"
></div>
<div class="flex-1 truncate">{{ item.agentTitle }}</div>
<div class="flex-1 overflow-hidden">
<n-ellipsis :tooltip="{ placement: 'right' }">
{{ item.agentTitle }}
</n-ellipsis>
</div>
<i
v-if="item.agentId === currentAgentApplication.agentId"
......
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