Browse Source

fix:删除多余代码

wangsisi 4 months ago
parent
commit
482822134f
1 changed files with 0 additions and 9 deletions
  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{