Commit e4841fd6 authored by limingzhe's avatar limingzhe

update

parent 26c0e747
...@@ -135,7 +135,7 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -135,7 +135,7 @@ export class PlayComponent implements OnInit, OnDestroy {
this.data = {}; this.data = {};
} }
this.addServerListener(); // this.addServerListener();
console.log('data:', data); console.log('data:', data);
if (!this.data.contentObj) { if (!this.data.contentObj) {
...@@ -421,10 +421,12 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -421,10 +421,12 @@ export class PlayComponent implements OnInit, OnDestroy {
// 预加载资源 // 预加载资源
this.loadResources().then(() => { this.loadResources().then(() => {
// this.setfontData();
window['air'].hideAirClassLoading(this.KEY, this.data);
this.init(); this.init();
this.update(); this.update();
this.addServerListener();
// this.setfontData();
window['air'].hideAirClassLoading(this.KEY, this.data);
}); });
} }
......
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