From ff855fc2eb2cb4233d2a1a7425cae550b15ff923 Mon Sep 17 00:00:00 2001 From: zoujing Date: Sun, 10 Aug 2025 17:18:33 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=97=AE=E9=A2=98=E5=88=86=E5=89=B2?= =?UTF-8?q?=E5=85=BC=E5=AE=B9=20|=20;=20&?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/chat/ChatMainList.vue | 2 -- pages/module/attach/AttachListComponent.vue | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pages/chat/ChatMainList.vue b/pages/chat/ChatMainList.vue index 87bb41d..e50bd46 100644 --- a/pages/chat/ChatMainList.vue +++ b/pages/chat/ChatMainList.vue @@ -577,8 +577,6 @@ const sendMessage = (message, isInstruct = false) => { // 通用WebSocket消息发送函数 const sendWebSocketMessage = (messageType, messageContent, options = {}) => { - console.error("WebSocket未连接"); - const args = { conversationId: conversationId.value, agentId: agentId.value, diff --git a/pages/module/attach/AttachListComponent.vue b/pages/module/attach/AttachListComponent.vue index 204257b..8aaeb00 100644 --- a/pages/module/attach/AttachListComponent.vue +++ b/pages/module/attach/AttachListComponent.vue @@ -30,7 +30,7 @@ const handleClick = (item) => { } onMounted(() => { - tags.value = props.question.split('&').filter(tag => tag.trim() !== '') + tags.value = props.question.split(/[&|;]/).filter(tag => tag.trim() !== '') nextTick(() => { setTimeout(() => { uni.$emit(SCROLL_TO_BOTTOM, true)