Commit 611e698d authored by zhangjianqian's avatar zhangjianqian

调节样式,修改socket配置

parent 151f57e5
......@@ -302,7 +302,7 @@ export default {
socket() {
console.log("socket执行");
this.ws = new WebSocket(
"ws://192.168.2.17:8903/gassafety/websocketServer"
"ws://222.223.203.154:8902/gassafety/websocketServer"
);
this.ws.onopen = (evt) => {
console.log("WebSockets开启");
......
......@@ -164,7 +164,7 @@ mounted(){
socket() {
console.log("socket执行");
this.ws = new WebSocket(
"ws://192.168.2.17:8903/gassafety/websocketServer"
"ws://222.223.203.154:8902/gassafety/websocketServer"
);
this.ws.onopen = (evt) => {
console.log("WebSockets开启");
......
......@@ -735,7 +735,7 @@ export class EditorMap {
}
}
setZoomAndCenter(longitude,latitude){
this.map.setZoomAndCenter(14, [longitude,latitude]);
this.map.setZoomAndCenter(14, [longitude*1+0.02,latitude]);
}
// 普通调用方法
// 设备报警
......
......@@ -938,7 +938,7 @@ export default {
}
.rightbar {
width: 470px;
height: 92%;
height: 93%;
position: fixed;
top: 50px;
right: 0;
......
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