Commit 7e85984c authored by liujiangnan's avatar liujiangnan

debug

parent 3a03bf6f
......@@ -75,6 +75,8 @@ cc.Class({
xhr.send(JSON.stringify(data));
},
tFlag = null,
start() {
this.node.zIndex = 9999;
if (!window.air) {
......@@ -86,10 +88,13 @@ cc.Class({
console.log("***成功调用onCourseInScreen***");
window.air.onCourseInScreen = null;
});
if (this.tFlag) {
clearTimeout(this.tFlag);
setTimeout(()=>{
this.hideWaitingLetters();
}, 1000);
}
}
this.showWaitingLetters();
......@@ -682,6 +687,9 @@ cc.Class({
cc.audioEngine.stopAll();
cc.director.runScene(scene, null, () => {
console.log("sceneName = " + conf.sceneName);
this.tFlag = setTimeout(() => {
this.hideWaitingLetters();
}, 15000);
callback && callback();
if (this.bundleType == "StoryBox") {
this.node.removeComponent(cc.Widget);
......
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