Commit 12f8b0d0 authored by liujiaxin's avatar liujiaxin

asdasd

parent 2813618d
...@@ -79,8 +79,11 @@ export class PlayComponent implements OnInit { ...@@ -79,8 +79,11 @@ export class PlayComponent implements OnInit {
}, this.saveKey); }, this.saveKey);
} }
selectItem(item, i){ selectItem(item, i){
this.curItem=item; this.curItem={...item};
this.curIndex=i; this.curIndex=i;
this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges();
this.refresh();
} }
ngOnDestroy() { ngOnDestroy() {
} }
......
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