fix(chat): 修改智能体列表
This commit is contained in:
1 parent
cafce5cfa9
commit
7e4a2037d8
8 files changed
+71
-17
No files matched your search
@@ -12,6 +12,7 @@ export interface ChatMobileHeaderAgent extends AgentWithCategory {}
|
||||
|
||||
defineProps<{
|
||||
agentName: string;
|
||||
activeAgentId: number;
|
||||
hasAgentGuides: boolean;
|
||||
userAgents: ChatMobileHeaderAgent[];
|
||||
}>();
|
||||
@@ -101,6 +102,7 @@ onBeforeUnmount(() => {
|
||||
<AgentCategoryList
|
||||
v-if="userAgents.length > 0"
|
||||
:agents="userAgents"
|
||||
:active-agent-id="activeAgentId"
|
||||
@select="onSwitchAgent"
|
||||
/>
|
||||
<div v-else class="py-3 text-center text-xs text-muted">{{ $t('chat.noOtherAgents') }}</div>
|
||||
|
||||
Reference in new issue
Block a user