From d6bc6db36bd11daaee4c2b476abf96924580c343 Mon Sep 17 00:00:00 2001 From: wally <18603454788@163.com> Date: Thu, 19 Mar 2020 12:02:54 +0800 Subject: [PATCH] =?UTF-8?q?1.=E7=BB=9F=E8=AE=A1=E5=9C=B0=E5=9B=BE=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE=E5=85=A8=E9=83=A8=E6=98=BE=E7=A4=BA2.input=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E7=BB=86=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 2 +- components/history-map/history-map.vue | 2 +- pages/sign/sign.vue | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/App.vue b/App.vue index a1419a9..3f55ab8 100644 --- a/App.vue +++ b/App.vue @@ -21,7 +21,7 @@ export default { try { if (options.query.scene) { const query = formatQuery(decodeURIComponent(options.query.scene)); - if (query && query.d) { + if (options.path === 'pages/index/index' && query && query.d) { await this.getTokenByUserId({ params: { userId: query.d } }); this.initCommon(); } else { diff --git a/components/history-map/history-map.vue b/components/history-map/history-map.vue index 9b1921c..c68bcc7 100644 --- a/components/history-map/history-map.vue +++ b/components/history-map/history-map.vue @@ -8,7 +8,7 @@ id="map" ref="map" show-location="true" - include-points="true" + :include-points="markers" style="width: 100%; height: 1000rpx;" /> diff --git a/pages/sign/sign.vue b/pages/sign/sign.vue index 37d4064..b337522 100644 --- a/pages/sign/sign.vue +++ b/pages/sign/sign.vue @@ -28,8 +28,8 @@ export default { success: false, type: 0, // 0进 / 1出 timer: null, - longitude: 37.80079, - latitude: 112.58679, + latitude: 37.80079, + longitude: 112.58679, }; },