diff --git a/src/app/working-area/working-area.component.ts b/src/app/working-area/working-area.component.ts index ac66ffe..127abb7 100644 --- a/src/app/working-area/working-area.component.ts +++ b/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 { + public async refreshBackgroundImage(imageUrl: string = this.canvasData.selectStorey.imageUrl, imageAngle: number = this.canvasData.selectStorey.imageAngle): Promise { if (imageAngle === undefined || imageAngle === null) { imageAngle = 0; }