Commit f5edfe74 authored by liujiaxin's avatar liujiaxin

xcvdx

parent 84efdfaa
...@@ -106,10 +106,16 @@ export class PlayComponent implements OnInit, OnDestroy, OnChanges { ...@@ -106,10 +106,16 @@ export class PlayComponent implements OnInit, OnDestroy, OnChanges {
this.isPlaying = true; this.isPlaying = true;
} }
} }
this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges();
this.refresh();
} }
lcDisplayText() { lcDisplayText() {
this._lc_text = this.data.contentObj.text || ''; this._lc_text = this.data.contentObj.text || '';
this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges();
this.refresh();
} }
handleTap(ev, item) { handleTap(ev, item) {
...@@ -123,6 +129,9 @@ export class PlayComponent implements OnInit, OnDestroy, OnChanges { ...@@ -123,6 +129,9 @@ export class PlayComponent implements OnInit, OnDestroy, OnChanges {
item.state = ''; item.state = '';
}, 1500); }, 1500);
} }
this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges();
this.refresh();
} }
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