Commit f8ac4bb8 authored by liujiangnan's avatar liujiangnan

debug

parent 87f11887
......@@ -65,13 +65,13 @@ export class MyCocosSceneComponent extends cc.Component {
// this.preloadItem();
// }
let getData = this.getData.bind(this);
getData((data) => {
this.log('data:' + data);
this.data = data || this.getDefaultData();
this.data = this.translateData(this.data.rows);
this.preloadItem();
})
// let getData = this.getData.bind(this);
// getData((data) => {
// this.log('data:' + data);
// this.data = data || this.getDefaultData();
// this.data = this.translateData(this.data.rows);
// this.preloadItem();
// })
}
getData(cb) {
......
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