feat: 问题分割兼容 | ; &
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user