fix : 修复话务配置管理搜索功能

This commit is contained in:
2024-09-16 21:25:18 +08:00
parent 8b8a6a8bd5
commit 8811172d1e
2 changed files with 4 additions and 4 deletions

View File

@@ -122,13 +122,13 @@ const initWebSocket = () => {
console.log("服务器返回的信息: ", data);
if(data.type=='1'){
recordLeftObj.value.content.push(data.content)
console.info("🚀 ~method:onmessage -----", recordLeftObj.value)
// console.info("🚀 ~method:onmessage -----", recordLeftObj.value)
nextTick(() => {
scrollToBottom(recordLeftRef.value)
})
}else {
recordRightObj.value.content.push(data.content)
console.info("🚀 ~method:onmessage -----", recordRightObj.value)
// console.info("🚀 ~method:onmessage -----", recordRightObj.value)
nextTick(() => {
scrollToBottom(recordRightRef.value);
})
@@ -138,7 +138,7 @@ const initWebSocket = () => {
}
//连接关闭的回调方法
socket.onclose = function () {
initWebSocket()
// initWebSocket()
console.log("ws连接关闭");
}
setInterval(() => {