|
|
|
@ -167,7 +167,8 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
this.rectToolGraphics.clear(); |
|
|
|
|
} |
|
|
|
|
if (event.keyCode === 46) { |
|
|
|
|
this.selection.objects.forEach(item => { |
|
|
|
|
if (this.allowEdit) { |
|
|
|
|
this.selection.objects.forEach(item => { |
|
|
|
|
// 删除 选中的数据
|
|
|
|
|
if (item.assetData?.IsFromBuilding) { |
|
|
|
|
delete this.canvasData.originalcompanyBuildingData?.data[item.assetData.Id]; |
|
|
|
@ -196,6 +197,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
// 测试代码
|
|
|
|
|