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