Commit 9d22c8f6 authored by liujiaxin's avatar liujiaxin

sdf

parent a3367c96
......@@ -64,7 +64,26 @@ export class PlayComponent implements OnInit, AfterViewInit, OnDestroy {
ngOnInit() {
this.data = {};
this.data = {
contentObj: {
talk: [
[{
text: 'hello?',
audio: 0
}, {
text: 'fine! thank you. and you?',
audio: 0
}],
[{
text: 'how are you?',
audio: 0
}, {
text: 'i am fine too',
audio: 0
}]
]
}
};
this.init();
// 获取数据
const getData = (window as any).courseware.getData;
......@@ -79,7 +98,7 @@ export class PlayComponent implements OnInit, AfterViewInit, OnDestroy {
}, this.saveKey);
}
init(){
init() {
this.talkIdx = {
A: -1,
B: -1
......
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