Browse Source

[修正] 作战部署自定义底图加载BUG修正

zhuzhou
陈鹏飞 4 years ago
parent
commit
b1813b36dd
  1. 2
      src/app/ui/collection-tools/collection-tools.component.ts

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

@ -2496,6 +2496,8 @@ export class CollectionToolsComponent implements OnInit {
let dialogRef = this.dialog.open(addBGCDisposalNodeComponent);
dialogRef.afterClosed().subscribe(data => {
if (data) {
this.canvasData.selectStorey.imageWidth = 0 //修正加载底图BUG
this.canvasData.customizeDisposalNode = data //自定义数据节点
let imgURL = window.URL.createObjectURL(data.file) //将图片生成 url地址
// this.canvasData.selectPanelPointBaseData = {description: '', notes: '', weather: '', airTemperature: '', windDirection: '', windScale: ''} //更新 当前数据节点对应父级节点

Loading…
Cancel
Save