diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 65e5e56..fec82ee 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -276,11 +276,6 @@ const init = () => { // map.setMapType(window.TMAP_SATELLITE_MAP); map.centerAndZoom(new T.LngLat(121.88356, 29.45144), 13); dropdown.hinegh = document.body.clientHeight * 0.45; - setTimeout(() => { - dropdown.hinegh = dropdown.hinegh + 300; - console.log(dropdown.hinegh); - }, 2000); - control = new T.Control.Zoom(); //添加缩放平移控件 map.addControl(control);