【引导】没有引导的功能解锁时会导致报错
parent
717994657e
commit
97cb753d4e
|
@ -71,13 +71,16 @@ function this.OnFunctionOpen(funcId)
|
|||
end
|
||||
--LogGreen(tostring(AppConst.isGuide))
|
||||
local guideId = GlobalSystemConfig[funcId].GuideId
|
||||
if GuideConfig[guideId].IsOpen > 0 then
|
||||
if not guideId or guideId == 0 then
|
||||
return
|
||||
end
|
||||
if GuideConfig[guideId] and GuideConfig[guideId].IsOpen > 0 then
|
||||
if not ActivityGiftManager.IsActivityTypeOpen(ActivityGiftManager.GetActivityTypeFromId(GuideConfig[guideId].IsOpen)) then
|
||||
Log("活动:"..tostring(GuideConfig[guideId].IsOpen).."未开启,引导Id:"..guideId.."未执行!")
|
||||
return
|
||||
end
|
||||
end
|
||||
if guideId and guideId ~= 0 and not funcDic[guideId] then
|
||||
if not funcDic[guideId] then
|
||||
table.insert(_FuncGuideList, guideId)
|
||||
end
|
||||
--
|
||||
|
|
Loading…
Reference in New Issue