更新历史轨迹列表数据5

master
tangwenkang 2023-12-01 15:46:39 +08:00
parent 6df5ae569d
commit 02e54ad426
1 changed files with 2 additions and 2 deletions

View File

@ -65,8 +65,8 @@ export default {
historyMap(this.recordCar).then(res=>{
console.log(res.data)
res.data.forEach(item=>{
this.arr[0] = item.longitude
this.arr[1] = item.latitude
this.arr[0] = item.longitude.valueOf()
this.arr[1] = item.latitude.valueOf()
this.lineArr.push(this.arr)
console.log(this.lineArr)
})