fix: 知识点无内容处理

This commit is contained in:
yanghang
2025-07-17 17:05:49 +08:00
parent cfcda80e03
commit 212c25a677
2 changed files with 3 additions and 7 deletions
+3
View File
@@ -155,6 +155,9 @@ export default class WebSocketUtil {
} else {
console.error('WebSocket连接未打开,无法发送消息');
this.triggerEvent('error', new Error('WebSocket连接未打开'));
setTimeout(()=>{
this.send(message)
},500)
}
return this;
}