From 227b86ae9893677902c08a373e3445f6de069125 Mon Sep 17 00:00:00 2001 From: tangwenkang <2720983602@qq.com> Date: Wed, 6 Dec 2023 16:53:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=9B=B4=E6=96=B0=E7=9A=84?= =?UTF-8?q?=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/vehicle/record.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/vehicle/record.vue b/src/views/vehicle/record.vue index f434aa5..711d618 100644 --- a/src/views/vehicle/record.vue +++ b/src/views/vehicle/record.vue @@ -133,8 +133,8 @@ export default { }) }, startAnimation () { - // setTimeout(()=>{ - // AMap.plugin('AMap.MoveAnimation', () => { + setTimeout(()=>{ + AMap.plugin('AMap.MoveAnimation', () => { console.log('开始回放') this.marker.moveAlong(this.lineArr, { // 每一段的时长 @@ -142,8 +142,8 @@ export default { // JSAPI2.0 是否延道路自动设置角度在 moveAlong 里设置 autoRotation: true, }); - // }) - // },2000) + }) + },2000) }, }, }