Prechádzať zdrojové kódy

分层分户不显示超图sm 数据

maxiaoxiao 1 týždeň pred
rodič
commit
666289c763

+ 1 - 0
src/components/Query/clickQuery/clickQuery.vue

@@ -804,6 +804,7 @@ export default {
             let feature = res.features[0];
             console.log(res, "res");
             feature.fieldNames.forEach((fieldName, i) => {
+              if(!fieldName.includes('SM'))
               newArr.push({ name: fieldName, value: feature.fieldValues[i] });
             }); 
             this.addLayerList(obj.title);