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消息发送函数
const sendWebSocketMessage = (messageType, messageContent, options = {}) => {
console.error("WebSocket未连接");
const args = {
conversationId: conversationId.value,
agentId: agentId.value,

View File

@@ -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)