Commit 96bd5c99 authored by wildfirecode's avatar wildfirecode

1

parent 64407c60
......@@ -7,7 +7,7 @@ export default class PanelCtrl {
this._panels.unshift(panelName);
}
_params:any[]
_panels:any[]
private _panels:any[]
_callback:any;
showPanels(panels: any[],params:any[],callback:Function) {
this._panels=panels;
......
......@@ -185,6 +185,7 @@ export default class MapScene extends Scene {
// 红包雨强提示
const hbRainRes = DataManager.ins.getData(NetName.HBRAIN_BASEINFO);
if(hbRainRes.data) {
if(hbRainRes.data.currentSession || hbRainRes.data.nextSession) {
const sessionId = hbRainRes.data.currentSession ? hbRainRes.data.currentSession.sessionIndex : hbRainRes.data.nextSession.sessionIndex; // 场次ID
const nowTimerStr3 = date.getTime() + sessionId + '';
......@@ -194,6 +195,8 @@ export default class MapScene extends Scene {
localStorage.setItem('nowTimer3Str' + window['CFG'].consumerId, nowTimerStr3);
}
}
}
if(!readCache() && getHomeData().levels.length <= 0) { //引导
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