Commit 7b171486 authored by 李维's avatar 李维

恢复重玩按钮

parent b81b95b2
...@@ -584,7 +584,7 @@ cc.Class({ ...@@ -584,7 +584,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');
...@@ -609,7 +609,7 @@ cc.Class({ ...@@ -609,7 +609,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