更新历史轨迹列表数据7

master
tangwenkang 2023-12-01 16:28:37 +08:00
parent 8fc0c622a4
commit 70e510e290
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}) })