diff --git a/src/views/ai/chat/Conversation.vue b/src/views/ai/chat/Conversation.vue index 3b34516d..75d9e2b3 100644 --- a/src/views/ai/chat/Conversation.vue +++ b/src/views/ai/chat/Conversation.vue @@ -131,7 +131,6 @@ const getChatConversationList = async () => { const res = await ChatConversationApi.getChatConversationMyList() // 2、排序 res.sort((a, b) => { - console.log('sort', a, b) return b.updateTime - a.updateTime }) conversationList.value = res @@ -162,7 +161,6 @@ const conversationTimeGroup = async (list: ChatConversationVO[]) => { const threeDays = 3 * oneDay; const sevenDays = 7 * oneDay; const thirtyDays = 30 * oneDay; - console.log('listlistlist', list) for (const conversation: ChatConversationVO of list) { // 置顶 if (conversation.pinned) { diff --git a/src/views/ai/chat/Message.vue b/src/views/ai/chat/Message.vue index 539b0d7a..5f36bf3a 100644 --- a/src/views/ai/chat/Message.vue +++ b/src/views/ai/chat/Message.vue @@ -95,7 +95,6 @@ function handleScroll() { const scrollTop = scrollContainer.scrollTop const scrollHeight = scrollContainer.scrollHeight const offsetHeight = scrollContainer.offsetHeight - console.log('scrollTop', scrollTop) if ((scrollTop + offsetHeight) < (scrollHeight - 100)) { // 用户开始滚动并在最底部之上,取消保持在最底部的效果 isScrolling.value = true diff --git a/src/views/ai/chat/index.vue b/src/views/ai/chat/index.vue index 3ba1046c..704a693e 100644 --- a/src/views/ai/chat/index.vue +++ b/src/views/ai/chat/index.vue @@ -198,7 +198,6 @@ const doSendStream = async (userMessage: ChatMessageVO) => { userMessage.content, conversationInAbortController.value, async (message) => { - console.log('message', message) const data = JSON.parse(message.data) // TODO 芋艿:类型处理; // debugger // 如果没有内容结束链接 @@ -225,14 +224,12 @@ const doSendStream = async (userMessage: ChatMessageVO) => { await scrollToBottom() }, (error) => { - console.log('error', error) // 标记对话结束 conversationInProgress.value = false // 结束 stream 对话 conversationInAbortController.value.abort() }, () => { - console.log('close') // 标记对话结束 conversationInProgress.value = false // 结束 stream 对话