From af147625ae1d67cfcc68ce8643a9c66aa1786244 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=BF=97=E5=86=9B?= <543024265@qq.com> Date: Thu, 17 Jul 2025 19:32:47 +0800 Subject: [PATCH] =?UTF-8?q?refactor(agent):=20=E9=87=8D=E6=9E=84=E6=99=BA?= =?UTF-8?q?=E8=83=BD=E4=BD=93=E8=81=8A=E5=A4=A9=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改 HistoryChat组件中显示智能体名称而非标题 - 优化 Chat 页面初始化逻辑,添加组件卸载时的销毁操作 - 更新 Index 页面中智能体产品的展示方式 --- .../Agent/Chat/components/HistoryChat.vue | 2 +- src/views/Agent/Chat/index.vue | 55 +++++++++++++++++-- src/views/Agent/Index/index.vue | 16 +++--- 3 files changed, 60 insertions(+), 13 deletions(-) diff --git a/src/views/Agent/Chat/components/HistoryChat.vue b/src/views/Agent/Chat/components/HistoryChat.vue index c3abfd3..1ead5f6 100644 --- a/src/views/Agent/Chat/components/HistoryChat.vue +++ b/src/views/Agent/Chat/components/HistoryChat.vue @@ -6,7 +6,7 @@ - {{ cozeInfo.title }} + {{ cozeInfo.name }} {{ cozeInfo.type == 1 ? '智能体' : '对话式' }} {{ cozeInfo.views }}次使用

{{ cozeInfo.description }}

diff --git a/src/views/Agent/Chat/index.vue b/src/views/Agent/Chat/index.vue index 7cf179c..b2a0231 100644 --- a/src/views/Agent/Chat/index.vue +++ b/src/views/Agent/Chat/index.vue @@ -23,10 +23,11 @@