diff --git a/frontend/dist/index.html b/frontend/dist/index.html index 2e243d12..45076677 100644 --- a/frontend/dist/index.html +++ b/frontend/dist/index.html @@ -10,8 +10,8 @@ AI工作台 - - + +
diff --git a/frontend/src/views/ChatView.vue b/frontend/src/views/ChatView.vue index b2f48af2..dd777d6c 100644 --- a/frontend/src/views/ChatView.vue +++ b/frontend/src/views/ChatView.vue @@ -13,7 +13,7 @@ import { ref, onMounted, onBeforeUnmount, computed, watch, nextTick } from 'vue'; import { useI18n } from 'vue-i18n'; import { useChat } from '../composables/useChat'; -import { Send, Loader2, Plus, Copy, Edit2, RotateCw, Check, X, PanelLeftClose, PanelLeftOpen, Heart, Bell, Mail, Settings, ChevronDown, Sparkles, Database, Mic, LogOut, MessageSquareText, Globe, ExternalLink, Search, LayoutGrid, History, MoreVertical } from 'lucide-vue-next'; +import { Send, Loader2, Plus, Copy, Edit2, RotateCw, Check, X, PanelLeftClose, PanelLeftOpen, Heart, Bell, Mail, Settings, ChevronDown, Sparkles, Database, Mic, LogOut, MessageSquareText, Globe, ExternalLink, Search, LayoutGrid, History } from 'lucide-vue-next'; import { marked } from 'marked'; import { useRoute, useRouter } from 'vue-router'; import { config } from '../config'; @@ -1685,6 +1685,11 @@ onMounted(async () => { await loadUserAgents(); await loadHistory(); + + const convId = route.query.conversation_id as string; + if (convId) { + await loadConversation(convId); + } if (presetQuestion.value) { input.value = presetQuestion.value; @@ -1893,27 +1898,29 @@ const showChatRating = ref(false); {{ currentAgent?.name || 'AI' }}
-
-
-
智能体
- -
暂无其他智能体
+
+
智能体
+
+ +
+
暂无其他智能体
diff --git a/frontend/src/views/WorkspaceView.vue b/frontend/src/views/WorkspaceView.vue index c5d3ba46..8ca258fe 100644 --- a/frontend/src/views/WorkspaceView.vue +++ b/frontend/src/views/WorkspaceView.vue @@ -1628,14 +1628,6 @@ onMounted(async () => { 返回聊天 -