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

恢复重玩按钮

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