diff --git a/src/views/vehicle/record.vue b/src/views/vehicle/record.vue index 87601ab..15cbf28 100644 --- a/src/views/vehicle/record.vue +++ b/src/views/vehicle/record.vue @@ -59,6 +59,7 @@ export default { historyMap(this.recordCar).then(res=>{ this.recordCarList = res.data; // 将获取到的对象集合存储到data中 console.log(this.recordCarList) + this.currentObject = {} this.startDisplay(); // 开始展示 let coordinates = res.data.map(obj => [ parseFloat(obj.longitude.replace(/"/g, "")),