Commit b5aaa443 authored by limingzhe's avatar limingzhe

fix: debug

parent 37c22dc6
...@@ -177,6 +177,7 @@ cc.Class({ ...@@ -177,6 +177,7 @@ cc.Class({
preload() { preload() {
console.log(' in preload');
const preloadArr = this._imageResList.concat(this._audioResList).concat(this._animaResList); const preloadArr = this._imageResList.concat(this._audioResList).concat(this._animaResList);
cc.assetManager.loadAny(preloadArr, null, null, (err, data) => { cc.assetManager.loadAny(preloadArr, null, null, (err, data) => {
...@@ -191,6 +192,7 @@ cc.Class({ ...@@ -191,6 +192,7 @@ cc.Class({
loadEnd() { loadEnd() {
console.log(' in loadEnd');
this.initView(); this.initView();
this.initButton(); this.initButton();
this.resetData(); this.resetData();
......
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