fc890241 by 杨威

查询结果展示 数据报错

1 parent d6ec1003
......@@ -76,7 +76,7 @@ export default {
},
mixins:[mapLayerManager,findTask],
mounted(){
var query = self.$route.query;
var query = this.$route.query;
if(query && JSON.stringify(query) != "{}"){
//self.addGeoByBsm(query.bsm,query.type,self.viewId);
if(query.type == 'zd'){
......@@ -202,7 +202,7 @@ export default {
delete feature.attributes[key]
}
}
layerResult.features.push(feature);
layerResult[0].features.push(feature);
}else{
if(layer){
this.resultLayers.push({
......