ws
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user