Commit d116f99e authored by liujiaxin's avatar liujiaxin

www

parent 032bbadc
...@@ -100,6 +100,7 @@ export class PlayComponent extends BaseResizeComponent implements OnInit, AfterV ...@@ -100,6 +100,7 @@ export class PlayComponent extends BaseResizeComponent implements OnInit, AfterV
this.data = data; this.data = data;
} }
this.init(); this.init();
this.initWithData();
// @ts-ignore // @ts-ignore
if (window['air']) { if (window['air']) {
// @ts-ignore // @ts-ignore
...@@ -129,7 +130,7 @@ export class PlayComponent extends BaseResizeComponent implements OnInit, AfterV ...@@ -129,7 +130,7 @@ export class PlayComponent extends BaseResizeComponent implements OnInit, AfterV
height: 'max-content' height: 'max-content'
}; };
}; };
this.initWithData()
// console.log(this.previewContainer.nativeElement.offsetHeight); // console.log(this.previewContainer.nativeElement.offsetHeight);
} }
......
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