fix: 右侧边栏仅在有会话时显示

This commit is contained in:
2026-03-15 21:48:39 +08:00
parent b8944813cf
commit 52a9d02342

View File

@@ -355,8 +355,9 @@ onUnmounted(() => {
/>
</div>
<!-- 右侧边栏 -->
<!-- 右侧边栏 - 仅在有会话时显示 -->
<ChatSidebar
v-if="currentSessionId"
:collapsed="sidebarCollapsed"
:chat-agents="chatAgents"
:selected-agent="selectedAgent"