|
|
|
@ -646,7 +646,7 @@ export default {
|
|
|
|
|
alert("您的浏览器不支持Websocket通信协议")
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
let url = "ws://127.0.0.1:8080/websocket/message"; //请求的后端地址
|
|
|
|
|
let url = "ws://10.11.41.249:8080/websocket/message"; //请求的后端地址
|
|
|
|
|
|
|
|
|
|
let websocket = null;//全局WebSocket对象
|
|
|
|
|
let lockReconnect = false; // 网络断开重连
|
|
|
|
|