提交 9e3eba9c 编写于 作者: Q qiang

fix(h5): 优化 map 组件在 PC 端的显示效果

上级 6e1a07b3
...@@ -451,11 +451,12 @@ export default { ...@@ -451,11 +451,12 @@ export default {
var map = this._map = new maps.Map(this.$refs.map, { var map = this._map = new maps.Map(this.$refs.map, {
center, center,
zoom: Number(this.scale), zoom: Number(this.scale),
scrollwheel: false, // scrollwheel: false,
disableDoubleClickZoom: true, disableDoubleClickZoom: true,
mapTypeControl: false, mapTypeControl: false,
zoomControl: false, zoomControl: false,
scaleControl: false, scaleControl: false,
panControl: false,
minZoom: 5, minZoom: 5,
maxZoom: 18, maxZoom: 18,
draggable: true draggable: true
...@@ -849,7 +850,7 @@ export default { ...@@ -849,7 +850,7 @@ export default {
refreshLocation() refreshLocation()
} }
}) })
}, 1000) }, 10000)
} }
}, },
removeLocation () { removeLocation () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册