From da66aead54f12983a0a290dff31bd514d550b5a2 Mon Sep 17 00:00:00 2001 From: cherishsince Date: Thu, 16 May 2024 00:28:24 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=A2=9E=E5=8A=A0=E3=80=91=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=AF=B9=E8=AF=9D=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ai/chat/index.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 () => { // 设置当前对话