From 70e510e2908e5a021d619459e1e8c3d122201ed3 Mon Sep 17 00:00:00 2001 From: tangwenkang <2720983602@qq.com> Date: Fri, 1 Dec 2023 16:28:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8E=86=E5=8F=B2=E8=BD=A8?= =?UTF-8?q?=E8=BF=B9=E5=88=97=E8=A1=A8=E6=95=B0=E6=8D=AE7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/vehicle/record.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/vehicle/record.vue b/src/views/vehicle/record.vue index e5cf66d..09e81cd 100644 --- a/src/views/vehicle/record.vue +++ b/src/views/vehicle/record.vue @@ -67,7 +67,7 @@ export default { res.data.forEach(item=>{ this.arr[0] = item.longitude this.arr[1] = item.latitude - this.arr.map(coord => parseFloat(coord)) + this.coordinates.map(this.arr); this.lineArr.push(this.arr) console.log(this.lineArr) })