Ver código fonte

更新 地图高度锁定

wzh 3 anos atrás
pai
commit
12e7bf0060
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      src/views/voyage/voyageDetail.vue

+ 2 - 0
src/views/voyage/voyageDetail.vue

@@ -1758,6 +1758,8 @@ function initMap() {
     zoom: 16, //级别
     center: [longitude, latitude], //中心点坐标
     mapStyle: "amap://styles/f48d96805f5fa7f5aada657c5ee37017",
+    zoomEnable: false,
+    dragEnable: false,
   });
   let toolBar = new AMap.ToolBar({
     position: {