Commit 23b1ff24 authored by xxx's avatar xxx

1

parent 6cedd279
...@@ -179,7 +179,7 @@ export default { ...@@ -179,7 +179,7 @@ export default {
}, },
mounted(){ mounted(){
let that = this; let that = this;
that.initWebSocketIndex(); //that.initWebSocketIndex();
this.loadData(); this.loadData();
this.setNowTimes(); this.setNowTimes();
this.zongTimer1 = setInterval(() => { this.zongTimer1 = setInterval(() => {
...@@ -236,7 +236,7 @@ export default { ...@@ -236,7 +236,7 @@ export default {
} }
}) })
//WebSocket重连 //WebSocket重连
that.reconnectIndex(); //that.reconnectIndex();
}, 8000) }, 8000)
}, },
...@@ -403,7 +403,7 @@ export default { ...@@ -403,7 +403,7 @@ export default {
} }
if(drivingDistance >= 1){ if(drivingDistance >= 1){
//地图视角跟随 //地图视角跟随
//that.$refs.mars3dViewerMapMethod.changeView1(position.coords.latitude,position.coords.longitude); that.$refs.mars3dViewerMapMethod.changeView1(position.coords.latitude,position.coords.longitude);
} }
LoaObj1xy.x = position.coords.longitude; LoaObj1xy.x = position.coords.longitude;
LoaObj1xy.y = position.coords.latitude; LoaObj1xy.y = position.coords.latitude;
......
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