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; } - } } }