Browse Source

增加默认参数

zhuzhou
徐振升 4 years ago
parent
commit
5a5b60fa45
  1. 2
      src/app/working-area/working-area.component.ts

2
src/app/working-area/working-area.component.ts

@ -1018,7 +1018,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
/** /**
* *
*/ */
public async refreshBackgroundImage(imageUrl: string, imageAngle: number): Promise<void> { public async refreshBackgroundImage(imageUrl: string = this.canvasData.selectStorey.imageUrl, imageAngle: number = this.canvasData.selectStorey.imageAngle): Promise<void> {
if (imageAngle === undefined || imageAngle === null) { if (imageAngle === undefined || imageAngle === null) {
imageAngle = 0; imageAngle = 0;
} }

Loading…
Cancel
Save