Commit 032bbadc authored by liujiaxin's avatar liujiaxin

www

parent d109f286
...@@ -128,7 +128,8 @@ export class PlayComponent extends BaseResizeComponent implements OnInit, AfterV ...@@ -128,7 +128,8 @@ export class PlayComponent extends BaseResizeComponent implements OnInit, AfterV
// 'width.px': this.imgData.naturalWidth // 'width.px': this.imgData.naturalWidth
height: 'max-content' height: 'max-content'
}; };
} };
this.initWithData()
// console.log(this.previewContainer.nativeElement.offsetHeight); // console.log(this.previewContainer.nativeElement.offsetHeight);
} }
...@@ -242,7 +243,8 @@ export class PlayComponent extends BaseResizeComponent implements OnInit, AfterV ...@@ -242,7 +243,8 @@ export class PlayComponent extends BaseResizeComponent implements OnInit, AfterV
this.partDetailVisible = false; this.partDetailVisible = false;
// } // }
} }
ngAfterViewInit() { ngAfterViewInit() {}
initWithData() {
// this.autoSizeText(); // this.autoSizeText();
if (!this.data.contentObj.parts) { if (!this.data.contentObj.parts) {
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment