Commit b8e9aa0a authored by 耿迪迪's avatar 耿迪迪

socket 配置修改 gengdidi

parent 9bed3bc3
......@@ -584,12 +584,12 @@ export default {
},
socket() {
console.log("socket执行");
// this.ws = new WebSocket(
// "ws://36.148.23.59:8901/gassafety/websocketServer"
// );
this.ws = new WebSocket(
"ws://192.168.2.23:8903/gassafety/websocketServer"
"ws://36.148.23.59:8901/gassafety/websocketServer"
);
// this.ws = new WebSocket(
// "ws://192.168.2.23:8903/gassafety/websocketServer"
// );
this.ws.onopen = (evt) => {
console.log("WebSockets=======gogogog");
// this.ws.send("WebSockets!=========================");
......
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