更新历史轨迹列表数据7
parent
8fc0c622a4
commit
70e510e290
|
@ -67,7 +67,7 @@ export default {
|
||||||
res.data.forEach(item=>{
|
res.data.forEach(item=>{
|
||||||
this.arr[0] = item.longitude
|
this.arr[0] = item.longitude
|
||||||
this.arr[1] = item.latitude
|
this.arr[1] = item.latitude
|
||||||
this.arr.map(coord => parseFloat(coord))
|
this.coordinates.map(this.arr);
|
||||||
this.lineArr.push(this.arr)
|
this.lineArr.push(this.arr)
|
||||||
console.log(this.lineArr)
|
console.log(this.lineArr)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue