更新实时轨迹10

master
tangwenkang 2023-12-03 21:26:01 +08:00
parent b8ad239363
commit 765371b9f3
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ export default {
this.recordCar.endTime = recordCar.endTime
historyMap(this.recordCar).then(res=>{
console.log(res)
this.carMsg = res.data
// this.carMsg = res.data
res.data.forEach(item=>{
this.carMsg = item
this.arr.push(item.longitude.replace(/"/g, "") +","+item.latitude.replace(/"/g, ""))