diff --git a/src/views/vehicle/car.vue b/src/views/vehicle/car.vue index 2091456..a4d337d 100644 --- a/src/views/vehicle/car.vue +++ b/src/views/vehicle/car.vue @@ -331,6 +331,7 @@ export default { const longitude = parseFloat(res.data.longitude.replace(/"/g, "")); const latitude = parseFloat(res.data.latitude.replace(/"/g, "")); this.lineArr = [longitude, latitude]; + this.carMsg = [] this.carMsg.push(res.data); }); };