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() { ...@@ -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
...@@ -263,7 +264,11 @@ function handleQuestionSubmitEnter(event: KeyboardEvent) { ...@@ -263,7 +264,11 @@ function handleQuestionSubmitEnter(event: KeyboardEvent) {
:class="{ 'bg-px-home-cuixiang_icon-png': !item.agentAvatar }" :class="{ 'bg-px-home-cuixiang_icon-png': !item.agentAvatar }"
:style="{ backgroundImage: `url(${item.agentAvatar})` }" :style="{ backgroundImage: `url(${item.agentAvatar})` }"
></div> ></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 <i
v-if="item.agentId === currentAgentApplication.agentId" 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