Browse Source

[修正] 创建建筑BUG修正

master
陈鹏飞 4 years ago
parent
commit
62c856c489
  1. 7
      src/app/ui/collection-tools/collection-tools.component.ts

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

@ -1403,6 +1403,7 @@ export class CollectionToolsComponent implements OnInit {
//新增平面图 楼层/区域
foundPanel (e) {
e.stopPropagation()
if (this.beforeOneCheckedBuilding.id) {
let data = {
isBuilding: this.checkedBuildingIndex==-1? false:true,
Panel: this.beforeOneCheckedBuilding,
@ -1416,6 +1417,12 @@ export class CollectionToolsComponent implements OnInit {
this.renovateBuilding()
}
})
} else {
const config = new MatSnackBarConfig();
config.verticalPosition = 'top';
config.duration = 3000
this.snackBar.open('请选择建筑','确定',config);
}
}
//编辑平面图 楼层/区域

Loading…
Cancel
Save