Commit bfa874ef authored by liujiaxin's avatar liujiaxin

asdas

parent 5f68acda
......@@ -74,11 +74,12 @@ export class PlayComponent implements OnInit, OnDestroy, OnChanges, AfterViewIni
console.log(this.data);
}
this.init();
this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges();
this.refresh();
window["air"] && window["air"].hideAirClassLoading(this.saveKey, this.data);
setTimeout(() => {
this.refresh();
}, 500);
}, this.saveKey);
this.refresh();
......@@ -185,6 +186,9 @@ export class PlayComponent implements OnInit, OnDestroy, OnChanges, AfterViewIni
this.Spelling_audio.load();
this.Spelling_audio.play();
}
this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges();
this.refresh();
}
onHandleChoose(index) {
......@@ -194,6 +198,9 @@ export class PlayComponent implements OnInit, OnDestroy, OnChanges, AfterViewIni
this.indexnum = indexs;
}
});
this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges();
this.refresh();
}
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