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)