Commit 02864e65 authored by liujiaxin's avatar liujiaxin

111ss

parent c8a7f171
......@@ -215,11 +215,17 @@ export class PlayComponent implements OnInit, OnDestroy {
item.state = '';
}, 1500);
}
this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges();
this.refresh();
}
onHandleZoomIn(e) {
e.stopPropagation();
this.zoomIn = !this.zoomIn;
this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges();
this.refresh();
}
playAudio(option, e) {
......@@ -227,10 +233,16 @@ export class PlayComponent implements OnInit, OnDestroy {
this.optionAudio.src = option.audio_id;
// this.optionAudio.load();
this.optionAudio.play();
this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges();
this.refresh();
}
currentQuestionStatus() {
const sts = this.playerState.asObservable();
console.log(this.playerState.getValue().isPlaying);
this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges();
this.refresh();
}
playQuestionAudio(e) {
e.stopPropagation();
......@@ -239,5 +251,8 @@ export class PlayComponent implements OnInit, OnDestroy {
} else {
this.questionAudio.pause();
}
this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges();
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