Commit 1fbc2b3f authored by limingzhe's avatar limingzhe

fix: debug

parent 3a902c8d
...@@ -75,16 +75,16 @@ cc.Class({ ...@@ -75,16 +75,16 @@ cc.Class({
start() { start() {
let getData = this.getData.bind(this); // let getData = this.getData.bind(this);
if (window && window.courseware) { // if (window && window.courseware) {
getData = window.courseware.getData; // getData = window.courseware.getData;
} // }
getData((data) => { // getData((data) => {
this.data = data || this.getDefaultData(); // this.data = data || this.getDefaultData();
this.preloadItem() // this.preloadItem()
}) // })
}, },
_imageResList: null, _imageResList: null,
......
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