This commit is contained in:
aqu415
2022-02-13 20:53:52 +08:00
parent 44a36e38d4
commit a30894d2aa
+1 -1
View File
@@ -87,7 +87,7 @@
} }
ws.onerror = function (e) { ws.onerror = function (e) {
//如果出现连接、处理、接收、发送数据失败的时候触发onerror事件 //如果出现连接、处理、接收、发送数据失败的时候触发onerror事件
console.log(error); console.log('error');
this.web_socket = null this.web_socket = null
} }
} }