Commit 032bbadc authored by liujiaxin's avatar liujiaxin

www

parent d109f286
......@@ -128,7 +128,8 @@ export class PlayComponent extends BaseResizeComponent implements OnInit, AfterV
// 'width.px': this.imgData.naturalWidth
height: 'max-content'
};
}
};
this.initWithData()
// console.log(this.previewContainer.nativeElement.offsetHeight);
}
......@@ -242,7 +243,8 @@ export class PlayComponent extends BaseResizeComponent implements OnInit, AfterV
this.partDetailVisible = false;
// }
}
ngAfterViewInit() {
ngAfterViewInit() {}
initWithData() {
// this.autoSizeText();
if (!this.data.contentObj.parts) {
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