Commit 1fbc2b3f authored by limingzhe's avatar limingzhe

fix: debug

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