Commit dd63bbcd authored by 李维's avatar 李维

恢复重玩按钮

parent 6db75ee4
...@@ -546,7 +546,7 @@ cc.Class({ ...@@ -546,7 +546,7 @@ cc.Class({
}, },
showRestartBtn() { showRestartBtn() {
return; // return;
const btn = cc.find('Canvas/bg/btnReplay'); const btn = cc.find('Canvas/bg/btnReplay');
btn.active = true; btn.active = true;
btn.off('click'); btn.off('click');
...@@ -571,7 +571,7 @@ cc.Class({ ...@@ -571,7 +571,7 @@ cc.Class({
}, },
hideRestartBtn() { hideRestartBtn() {
return; // return;
console.log('hideRestartBtn'); console.log('hideRestartBtn');
const btn = cc.find('Canvas/bg/btnReplay'); const btn = cc.find('Canvas/bg/btnReplay');
btn.active = false; btn.active = false;
......
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