From 2d7bf84593639824441103b5a48045641254d5d3 Mon Sep 17 00:00:00 2001 From: cherishsince Date: Tue, 21 May 2024 21:50:28 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=A7=A3=E5=86=B3todo=E3=80=91AI=20?= =?UTF-8?q?=E5=AF=B9=E8=AF=9D=E6=98=BE=E7=A4=BA=E9=9A=90=E8=97=8F=E6=95=88?= =?UTF-8?q?=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ai/chat/Conversation.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/ai/chat/Conversation.vue b/src/views/ai/chat/Conversation.vue index 005cb40a..1983614a 100644 --- a/src/views/ai/chat/Conversation.vue +++ b/src/views/ai/chat/Conversation.vue @@ -37,6 +37,8 @@ v-for="conversation in conversationMap[conversationKey]" :key="conversation.id" @click="handleConversationClick(conversation.id)" + @mouseover="hoverConversationId = conversation.id" + @mouseout="hoverConversationId = ''" >
{{ conversation.title }}
-
+
@@ -104,6 +106,7 @@ const message = useMessage() // 消息弹窗 // 定义属性 const searchName = ref('') // 对话搜索 const activeConversationId = ref(null) // 选中的对话,默认为 null +const hoverConversationId = ref(null) // 悬浮上去的对话 const conversationList = ref([] as ChatConversationVO[]) // 对话列表 const conversationMap = ref({}) // 对话分组 (置顶、今天、三天前、一星期前、一个月前) const drawer = ref(false) // 角色仓库抽屉 @@ -456,7 +459,6 @@ onMounted(async () => { .btn { margin: 0; } - } } }