From d012099013e8f41ba6077d27fceb22bb8d616603 Mon Sep 17 00:00:00 2001 From: "DESKTOP-JKIE562\\PC" <1013397054@qq.com> Date: Wed, 20 May 2026 21:10:09 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E5=8E=86=E5=8F=B2?= =?UTF-8?q?=E4=BC=9A=E8=AF=9D=E4=BC=98=E5=8C=96=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/dist/index.html | 4 +-- frontend/src/views/ChatView.vue | 41 ++++++++++++++++------------ frontend/src/views/WorkspaceView.vue | 16 +++-------- 3 files changed, 30 insertions(+), 31 deletions(-) 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 () => { 返回聊天 -