Commit e37f1ce8 authored by xxx's avatar xxx

1

parent 03a1947b
......@@ -139,6 +139,7 @@ export default {
this.setNowTimes();
}, 1000)
this.zongTimer3 = setInterval(() => {
console.log('equipmentName',this.equipmentName);
if(this.equipmentName){
this.getCarLoaction();
}
......@@ -216,8 +217,6 @@ export default {
if(this.carclass == '铲车'){
this.loadData1();
this.systemTitle = '卡车调度系统铲车终端';
}else{
return;
}
this.equipmentName = res1.data.content[0].equipmentName;
}
......@@ -264,6 +263,7 @@ export default {
navigator.geolocation.getCurrentPosition(
//locationSuccess 获取成功的话
function(position) {
console.log(position.coords.longitude,position.coords.latitude);
let LoaObj1 = {};
let LoaObj1xy = {};
LoaObj1xy.x = position.coords.longitude;
......
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