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

socketip 配置修改 gengdidi

parent 37892cf1
...@@ -758,7 +758,7 @@ export default { ...@@ -758,7 +758,7 @@ export default {
this.audio(); this.audio();
polyline.setOptions({ strokeColor: "#ff0000" }); polyline.setOptions({ strokeColor: "#ff0000" });
options.lineData.alarmState = 1; options.lineData.alarmState = 1;
// 报警类型 // 报警类型
options.lineData.alarmType = alarmType; options.lineData.alarmType = alarmType;
// 报警信息 // 报警信息
options.lineData.alarmValue = alarmValue; options.lineData.alarmValue = alarmValue;
...@@ -885,7 +885,7 @@ export default { ...@@ -885,7 +885,7 @@ export default {
socket() { socket() {
console.log("socket执行"); console.log("socket执行");
this.ws = new WebSocket( this.ws = new WebSocket(
"ws://36.148.1.253:8901/gassafety/websocketServer" "ws://36.148.1.253:8091/gassafety/websocketServer"
); );
// this.ws = new WebSocket( // this.ws = new WebSocket(
// "ws://192.168.2.28:8903/gassafety/websocketServer" // "ws://192.168.2.28:8903/gassafety/websocketServer"
......
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