Commit 62a841d3 authored by xxx's avatar xxx

1

parent eaaafae7
......@@ -235,8 +235,6 @@ export default {
}
}
})
//WebSocket重连
//that.reconnectIndex();
}, 8000)
},
......@@ -268,10 +266,12 @@ export default {
//WebSocket连接错误
websocketonerrorIndex(e) {
console.log("9095WebSocket连接发生错误");
//WebSocket重连
this.reconnectIndex();
},
//WebSocket数据接收
websocketonmessageIndex(e){
console.log("indexWebsocketMessage",e);
console.log("indexWebsocketMessage",e.data);
if(e == undefined){
return
}else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment