Commit 60f6eb32 authored by liujiaxin's avatar liujiaxin

www

parent 97d29f3a
...@@ -188,11 +188,17 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -188,11 +188,17 @@ export class PlayComponent implements OnInit, OnDestroy {
item.state = ''; item.state = '';
}, 1500); }, 1500);
} }
this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges();
this.refresh();
} }
onHandleZoomIn(e) { onHandleZoomIn(e) {
e.stopPropagation(); e.stopPropagation();
this.zoomIn = !this.zoomIn; this.zoomIn = !this.zoomIn;
this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges();
this.refresh();
} }
playAudio(option, e) { playAudio(option, e) {
...@@ -200,5 +206,9 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -200,5 +206,9 @@ export class PlayComponent implements OnInit, OnDestroy {
this.optionAudio.src = option.audio_id; this.optionAudio.src = option.audio_id;
// this.optionAudio.load(); // this.optionAudio.load();
this.optionAudio.play(); this.optionAudio.play();
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