Browse Source

[修改]修改对比数据报错

tangshan
邵佳豪 4 years ago
parent
commit
1421fbd8be
  1. 4
      src/app/plan-audit/wait-examineer/wait-examineer.component.ts

4
src/app/plan-audit/wait-examineer/wait-examineer.component.ts

@ -179,6 +179,8 @@ export class WaitExamineerComponent implements OnInit {
// 实景图
this.differentContentOfPicture = differentContent.filter(item => item.propertyName == 'realityImageGroups')
if (differentContent.filter(item => item.propertyName == 'buildings').length != 0) {
//建筑信息
this.differentContentOfBuildingsInfo = JSON.parse(JSON.stringify(differentContent.filter(item => item.propertyName == 'buildings')[0]))
this.differentContentOfBuildingsInfo.childrens.forEach(element => {
@ -195,7 +197,7 @@ export class WaitExamineerComponent implements OnInit {
}
});
});
}
}

Loading…
Cancel
Save