Jelajahi Sumber

fix:删除多余代码

wangsisi 4 bulan lalu
induk
melakukan
482822134f
1 mengubah file dengan 0 tambahan dan 9 penghapusan
  1. 0 9
      src/views/authentic/authenticMap.js

+ 0 - 9
src/views/authentic/authenticMap.js

@@ -312,15 +312,6 @@ class AuthenticMap {
           let coordinates = geometry.getCoordinates()[0]; // 获取多边形的顶点坐标
             ElMessage.success("已选择该点位")
             let list 
-            // if(mapData.selectPointArr.length>0){
-            //   list = f.getGeometry().getCoordinates();
-            // }else{
-            //   list = mapData.point.getGeometry().getCoordinates();
-            // }
-            // const arr = list[0][0].find(subArray => subArray.includes(coordinates))
-            // that.selectPointLayer.source.clear();
-            // let point = new Feature(new Point(arr));
-            // that.selectPointLayer.addFeature(point);
             if(mapData.selectPointArr.length>0){
               list = f.getGeometry().getCoordinates();
             }else{