Browse Source

[修正] 保存BUG修正

develop
陈鹏飞 4 years ago
parent
commit
e181e03946
  1. 11
      src/app/ui/collection-tools/collection-tools.component.ts

11
src/app/ui/collection-tools/collection-tools.component.ts

@ -510,6 +510,8 @@ export class CollectionToolsComponent implements OnInit {
//保存平面图
saveNum :any = []
saveSite(){
if (this.selectingSitePlan && this.selectingSitePlan.id) {
this.saveNum = []
let SitePlanData = JSON.parse(JSON.stringify(this.canvasData.originaleveryStoreyData));
SitePlanData.data = JSON.stringify(SitePlanData.data)
@ -730,9 +732,12 @@ export class CollectionToolsComponent implements OnInit {
}
}
} else { //if
const config = new MatSnackBarConfig();
config.verticalPosition = 'top';
config.duration = 3000
this.snackBar.open('暂无楼层数据','确定',config);
}
}
//获得所有的建筑物

Loading…
Cancel
Save