diff --git a/src/views/ai/chat/index.vue b/src/views/ai/chat/index.vue
index d64c5e25..69e336f8 100644
--- a/src/views/ai/chat/index.vue
+++ b/src/views/ai/chat/index.vue
@@ -26,7 +26,7 @@
置顶
-
+
{
}
}
+// 对话点击
+const handleConversationClick = async (id: number) => {
+ // 切换对话
+ conversationId.value = id
+ console.log('conversationId.value', conversationId.value)
+ // 获取列表数据
+ await messageList()
+}
+
/** 初始化 **/
onMounted(async () => {
// 设置当前对话