From 9e3eba9c1cfe64a3061e013518103670421ed9a2 Mon Sep 17 00:00:00 2001 From: qiang Date: Fri, 30 Oct 2020 17:35:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(h5):=20=E4=BC=98=E5=8C=96=20map=20=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=9C=A8=20PC=20=E7=AB=AF=E7=9A=84=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/platforms/h5/view/components/map/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/platforms/h5/view/components/map/index.vue b/src/platforms/h5/view/components/map/index.vue index 461d08e5db..8bae9b7f65 100644 --- a/src/platforms/h5/view/components/map/index.vue +++ b/src/platforms/h5/view/components/map/index.vue @@ -451,11 +451,12 @@ export default { var map = this._map = new maps.Map(this.$refs.map, { center, zoom: Number(this.scale), - scrollwheel: false, + // scrollwheel: false, disableDoubleClickZoom: true, mapTypeControl: false, zoomControl: false, scaleControl: false, + panControl: false, minZoom: 5, maxZoom: 18, draggable: true @@ -849,7 +850,7 @@ export default { refreshLocation() } }) - }, 1000) + }, 10000) } }, removeLocation () { -- GitLab