Browse Source

修正检索错误

master
徐振升 4 years ago
parent
commit
55ae1cebb9
  1. 3
      src/app/working-area/working-area.component.ts

3
src/app/working-area/working-area.component.ts

@ -513,6 +513,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
this.processinghiddenData(); this.processinghiddenData();
} }
this.createFloorShape(this.canvasData.originaleveryStoreyData.data); this.createFloorShape(this.canvasData.originaleveryStoreyData.data);
console.log(this.canvasData.selectStorey);
this.createNodeShape(this.canvasData.selectPanelPoint.Data); this.createNodeShape(this.canvasData.selectPanelPoint.Data);
} }
/** /**
@ -520,7 +521,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
*/ */
public processinghiddenData() { public processinghiddenData() {
for (let key in this.canvasData.originaleveryStoreyData.data){ for (let key in this.canvasData.originaleveryStoreyData.data){
if (this.canvasData.hiddenBasicInfoFacilities.indexOf(key)) { if (this.canvasData.hiddenBasicInfoFacilities.indexOf(key)!==-1) {
delete this.canvasData.originaleveryStoreyData.data[key]; delete this.canvasData.originaleveryStoreyData.data[key];
} }
} }

Loading…
Cancel
Save