Commit 97d29f3a authored by liujiaxin's avatar liujiaxin

www

parent 0a60359a
...@@ -136,15 +136,6 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -136,15 +136,6 @@ export class PlayComponent implements OnInit, OnDestroy {
}] }]
} }
}; };
this.zoomIn = false;
this.options = _.get(this.data.contentObj, 'options', []).map(item => {
item.state = '';
// Ken 2019-04-15 22:38 把showPic, showText的逻辑换为type
if (_.isUndefined(item.type)) {
item.type = item.showPic ? this.OPTION_TYPE.PIC : this.OPTION_TYPE.TEXT;
}
return item;
});
// 获取数据 // 获取数据
const getData = (window as any).courseware.getData; const getData = (window as any).courseware.getData;
getData((data) => { getData((data) => {
......
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