Commit 5f68acda authored by liujiaxin's avatar liujiaxin

asdas

parent 1fd6789c
...@@ -64,7 +64,7 @@ export class PlayComponent implements OnInit, OnDestroy, OnChanges, AfterViewIni ...@@ -64,7 +64,7 @@ export class PlayComponent implements OnInit, OnDestroy, OnChanges, AfterViewIni
}] }]
} }
}; };
this.init(); // this.init();
// 获取数据 // 获取数据
const getData = ( window as any).courseware.getData; const getData = ( window as any).courseware.getData;
...@@ -74,7 +74,7 @@ export class PlayComponent implements OnInit, OnDestroy, OnChanges, AfterViewIni ...@@ -74,7 +74,7 @@ export class PlayComponent implements OnInit, OnDestroy, OnChanges, AfterViewIni
console.log(this.data); console.log(this.data);
} }
this.init(); this.init();
window["air"].hideAirClassLoading(this.saveKey, this.data); window["air"] && window["air"].hideAirClassLoading(this.saveKey, this.data);
setTimeout(() => { setTimeout(() => {
this.refresh(); this.refresh();
......
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