更新历史轨迹

master
tangwenkang 2023-12-04 18:50:30 +08:00
parent 9eb8f66477
commit 66a6337e73
1 changed files with 2 additions and 1 deletions

View File

@ -57,7 +57,8 @@ export default {
this.recordCar.startTime = recordCar.startTime
this.recordCar.endTime = recordCar.endTime
historyMap(this.recordCar).then(res=>{
this.recordCarList = res; // data
this.recordCarList = res.data; // data
console.log(this.recordCarList)
this.startDisplay(); //
let coordinates = res.data.map(obj => [
parseFloat(obj.longitude.replace(/"/g, "")),