Commit 9592e877 authored by 邱旭's avatar 邱旭

1

parent ebbe3280
...@@ -225,6 +225,7 @@ export default class MapScene extends Scene { ...@@ -225,6 +225,7 @@ export default class MapScene extends Scene {
localStorage.setItem('taskCenter' + window['CFG'].consumerId, 'false'); localStorage.setItem('taskCenter' + window['CFG'].consumerId, 'false');
let res = DataManager.ins.getData('hc_redBombBaseInfo'); let res = DataManager.ins.getData('hc_redBombBaseInfo');
if(res && res.data){
let _t = res.data.redBombSwitchTime || ""; let _t = res.data.redBombSwitchTime || "";
if(res.data.remain > 0) { if(res.data.remain > 0) {
let showBomb = localStorage.getItem('showBomb' + window['CFG'].consumerId); let showBomb = localStorage.getItem('showBomb' + window['CFG'].consumerId);
...@@ -233,6 +234,7 @@ export default class MapScene extends Scene { ...@@ -233,6 +234,7 @@ export default class MapScene extends Scene {
panels.push('BombTips2Panel'); panels.push('BombTips2Panel');
} }
} }
}
if(!readCache() && getHomeData().levels.length <= 0) { //引导 if(!readCache() && getHomeData().levels.length <= 0) { //引导
const guide = new GuideCon(() => { const guide = new GuideCon(() => {
......
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