Commit 41b6aaec authored by liujiangnan's avatar liujiangnan

debug

parent 3a2e30a0
...@@ -337,7 +337,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -337,7 +337,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
if (real["bk_count"] == 6) { if (real["bk_count"] == 6) {
// 切换一个纸书调试 // 切换一个纸书调试
const isDebug = cc.sys.localStorage.getItem('isDebug'); const isDebug = cc.sys.localStorage.getItem('isDebug');
cc.sys.localStorage.setItem('isDebug', !isDebug); cc.sys.localStorage.setItem('isDebug', isDebug?'':'true');
this.middleLayer.showTips(`已切换为 ${isDebug?'正常':'Debug'} 模式`); this.middleLayer.showTips(`已切换为 ${isDebug?'正常':'Debug'} 模式`);
} }
// this.middleLayer.showTips(`时间到 ${real["bk_count"]}`); // this.middleLayer.showTips(`时间到 ${real["bk_count"]}`);
......
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