소스 검색

删除多余注释

Bella 2 년 전
부모
커밋
81ec69200f
1개의 변경된 파일1개의 추가작업 그리고 15개의 파일을 삭제
  1. 1 15
      src/views/HomeView.vue

+ 1 - 15
src/views/HomeView.vue

@@ -393,21 +393,7 @@ export default {
         let polygon = townPolygonMap.get(val);
         map2DViewer.map.fitBounds(polygon.getBounds());
       }
-      // if (val === "全部") {
-      //   let locationArr = townLocationMap.get(val);
-      //   this.$refs.mapLoaderRef.setView(
-      //     [locationArr[0], locationArr[1] - 0.2],
-      //     3
-      //   );
-      // } else {
-      //   let locationArr = townLocationMap.get(val);
-      //   this.$refs.mapLoaderRef.setView(
-      //     [locationArr[0], locationArr[1] - 0.2],
-      //     5
-      //   );
-      //   // let polygon = townPolygonMap.get(val);
-      //   // map2DViewer.map.fitBounds(polygon.getBounds());
-      // }
+      
     },
     // 获取自然资源分类数据接口(24个镇的数据)
     getSourcesData() {