Commit 5270fd70 authored by tyyin lan's avatar tyyin lan

chore(首页): 模型选择列表项标题省略展示

parent 28a0123f
...@@ -264,7 +264,11 @@ function handleQuestionSubmitEnter(event: KeyboardEvent) { ...@@ -264,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