更新实时轨迹10
parent
b8ad239363
commit
765371b9f3
|
@ -47,7 +47,7 @@ export default {
|
||||||
this.recordCar.endTime = recordCar.endTime
|
this.recordCar.endTime = recordCar.endTime
|
||||||
historyMap(this.recordCar).then(res=>{
|
historyMap(this.recordCar).then(res=>{
|
||||||
console.log(res)
|
console.log(res)
|
||||||
this.carMsg = res.data
|
// this.carMsg = res.data
|
||||||
res.data.forEach(item=>{
|
res.data.forEach(item=>{
|
||||||
this.carMsg = item
|
this.carMsg = item
|
||||||
this.arr.push(item.longitude.replace(/"/g, "") +","+item.latitude.replace(/"/g, ""))
|
this.arr.push(item.longitude.replace(/"/g, "") +","+item.latitude.replace(/"/g, ""))
|
||||||
|
|
Loading…
Reference in New Issue