feat: 问题分割兼容 | ; &

This commit is contained in:
2025-08-10 17:18:33 +08:00
parent fee7fda208
commit ff855fc2eb
2 changed files with 1 additions and 3 deletions

View File

@@ -577,8 +577,6 @@ const sendMessage = (message, isInstruct = false) => {
// 通用WebSocket消息发送函数 // 通用WebSocket消息发送函数
const sendWebSocketMessage = (messageType, messageContent, options = {}) => { const sendWebSocketMessage = (messageType, messageContent, options = {}) => {
console.error("WebSocket未连接");
const args = { const args = {
conversationId: conversationId.value, conversationId: conversationId.value,
agentId: agentId.value, agentId: agentId.value,

View File

@@ -30,7 +30,7 @@ const handleClick = (item) => {
} }
onMounted(() => { onMounted(() => {
tags.value = props.question.split('&').filter(tag => tag.trim() !== '') tags.value = props.question.split(/[&|;]/).filter(tag => tag.trim() !== '')
nextTick(() => { nextTick(() => {
setTimeout(() => { setTimeout(() => {
uni.$emit(SCROLL_TO_BOTTOM, true) uni.$emit(SCROLL_TO_BOTTOM, true)