Commit c29d0e4d authored by 杨一航's avatar 杨一航

test

parent 4c8dd1a8
...@@ -132,12 +132,12 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -132,12 +132,12 @@ export default class SceneComponent extends MyCocosSceneComponent {
this._totalQuestion = defaultData.questions.length; this._totalQuestion = defaultData.questions.length;
this._wrongQuestion = 0; this._wrongQuestion = 0;
await new Promise((resolve) => { // await new Promise((resolve) => {
cc.assetManager.loadBundle("cake_template_test", (ero) => { // cc.assetManager.loadBundle("cake_template_test", (ero) => {
console.log("budle loaded"); // console.log("budle loaded");
!ero && resolve(null); // !ero && resolve(null);
}); // });
}) // })
console.log("init data"); console.log("init 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