Commit 0a60359a authored by liujiaxin's avatar liujiaxin

www

parent 345d06e9
...@@ -151,6 +151,8 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -151,6 +151,8 @@ export class PlayComponent implements OnInit, OnDestroy {
if (data && typeof data === 'object') { if (data && typeof data === 'object') {
this.data = data; this.data = data;
}
this.zoomIn = false; this.zoomIn = false;
this.options = _.get(this.data.contentObj, 'options', []).map(item => { this.options = _.get(this.data.contentObj, 'options', []).map(item => {
item.state = ''; item.state = '';
...@@ -160,12 +162,13 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -160,12 +162,13 @@ export class PlayComponent implements OnInit, OnDestroy {
} }
return item; return item;
}); });
} this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges();
this.refresh();
if (window['air']) { if (window['air']) {
window['air'].hideAirClassLoading(this.saveKey, this.data); window['air'].hideAirClassLoading(this.saveKey, this.data);
} }
this.refresh();
}, this.saveKey); }, this.saveKey);
} }
......
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