This commit is contained in:
sjl
2025-01-14 16:24:29 +08:00
parent 7bc9321c86
commit 37d65a944d
3 changed files with 48 additions and 13 deletions

View File

@@ -958,11 +958,11 @@ const handleTest = async (val:string) => {
return
}
// 检查 socketClient.Instance 是否存在
if (!socketClient.Instance) {
console.error('WebSocket 客户端实例不存在');
return;
}
// // 检查 socketClient.Instance 是否存在
// if (!socketClient.Instance) {
// console.error('WebSocket 客户端实例不存在');
// return;
// }
//开始创建webSocket客户端
const data = reactive({