maxiaoxiao 6 months ago
parent
commit
f75e04a4cb
1 changed files with 5 additions and 4 deletions
  1. 5 4
      src/components/Query/clickQuery/clickQuery.vue

+ 5 - 4
src/components/Query/clickQuery/clickQuery.vue

@@ -960,15 +960,16 @@ export default {
           filteredArr.push(res.positions[0]);
           filteredArr.push(res.positions[1]);
           console.log(filteredArr, "max-----");
-          store.state.vectorlayerlist.forEach(obj=>{
+          store.state.vectorlayerlist.forEach((obj) => {
             if (obj.serverType == "geoserver") {
               // this.getGeoserver(xy, obj);
             } else {
-              if (!obj.fwgzkj && !obj.fwmc) continue;
+              //     if (!obj.fwgzkj && !obj.fwmc) {
+              //   continue;
+              // }
               // this.superQuery(xy, obj);
             }
-          })
-          
+          });
         },
         (err) => {
           console.log(err);