瀏覽代碼

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

maxiaoxiao 1 周之前
父節點
當前提交
666289c763
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/components/Query/clickQuery/clickQuery.vue

+ 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);