Commit f2b7773e authored by limingzhe's avatar limingzhe

fix: debug

parent 505cbc5b
...@@ -607,7 +607,7 @@ cc.Class({ ...@@ -607,7 +607,7 @@ cc.Class({
} }
}, },
showTipRemoveCard() { showTipRemoveCard(cb) {
const middleLayer = cc.find('middleLayer'); const middleLayer = cc.find('middleLayer');
if (middleLayer) { if (middleLayer) {
const script = middleLayer.getComponent('middleLayer'); const script = middleLayer.getComponent('middleLayer');
...@@ -619,7 +619,8 @@ cc.Class({ ...@@ -619,7 +619,8 @@ cc.Class({
this.videoNode.active = true; this.videoNode.active = true;
this.videoNode.zIndex = 20; this.videoNode.zIndex = 20;
this.startTesting(); // this.startTesting();
cb();
}) })
} }
...@@ -631,8 +632,6 @@ cc.Class({ ...@@ -631,8 +632,6 @@ cc.Class({
script.closeTipAnim() script.closeTipAnim()
} }
}) })
} else {
} }
}, },
...@@ -1408,8 +1407,8 @@ cc.Class({ ...@@ -1408,8 +1407,8 @@ cc.Class({
if (!this.isFristPlayEnd) { if (!this.isFristPlayEnd) {
//首次结束 //首次结束
this.showTipRemoveCard(); // this.showTipRemoveCard();
this.startTesting();
this.isFristPlayEnd = true; this.isFristPlayEnd = true;
} }
// this.showVideoBtn(); // this.showVideoBtn();
...@@ -2297,12 +2296,18 @@ cc.Class({ ...@@ -2297,12 +2296,18 @@ cc.Class({
} }
await asyncDelay(0.3); // await asyncDelay(0.3);
this.showTipRemoveCard(() => {
this.showCurQues(); this.showCurQues();
this.showCurQuesLetter(); this.showCurQuesLetter();
this.needEmitBubbleArr = []; this.needEmitBubbleArr = [];
this.isCanCheck = true; this.isCanCheck = true;
});
}, },
......
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