Commit a8b0ab68 authored by 李维's avatar 李维

恢复重玩按钮

parent 27e21d12
...@@ -467,7 +467,7 @@ cc.Class({ ...@@ -467,7 +467,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');
...@@ -490,7 +490,7 @@ cc.Class({ ...@@ -490,7 +490,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