【报错修改】
parent
5fa9f25c09
commit
63c2a33c84
|
@ -273,7 +273,7 @@ function this.OnPageTabChange(index)
|
||||||
end
|
end
|
||||||
if subViewList[index] and subViewList[index].config and subViewList[index].sub then
|
if subViewList[index] and subViewList[index].config and subViewList[index].sub then
|
||||||
--每日每周任务页签拆分用
|
--每日每周任务页签拆分用
|
||||||
if tabs[index].ShopData[1][1] == -9999 then
|
if tabs[index].ShopData and tabs[index].ShopData[1][1] == -9999 then
|
||||||
CommonActPageManager.DynamicActType = tabs[index].ActId
|
CommonActPageManager.DynamicActType = tabs[index].ActId
|
||||||
end
|
end
|
||||||
subViewList[index].sub:OnShow(orginLayer)
|
subViewList[index].sub:OnShow(orginLayer)
|
||||||
|
@ -284,7 +284,7 @@ function this.OnPageTabChange(index)
|
||||||
subViewList[index].config = SubUIConfig[tabs[index].UIName[1]]
|
subViewList[index].config = SubUIConfig[tabs[index].UIName[1]]
|
||||||
subViewList[index].sub = SubUIManager.Open(subViewList[index].config,this.content.transform,tabs[index],index,this)
|
subViewList[index].sub = SubUIManager.Open(subViewList[index].config,this.content.transform,tabs[index],index,this)
|
||||||
--每日每周任务页签拆分用
|
--每日每周任务页签拆分用
|
||||||
if tabs[index].ShopData[1][1] == -9999 then
|
if tabs[index].ShopData and tabs[index].ShopData[1][1] == -9999 then
|
||||||
CommonActPageManager.DynamicActType = tabs[index].ActId
|
CommonActPageManager.DynamicActType = tabs[index].ActId
|
||||||
end
|
end
|
||||||
subViewList[index].sub:OnShow(orginLayer)
|
subViewList[index].sub:OnShow(orginLayer)
|
||||||
|
|
|
@ -77,7 +77,7 @@ function CommonActPage:OnShow(_sortingOrder)
|
||||||
self.actId = self.actConfig.ActId
|
self.actId = self.actConfig.ActId
|
||||||
self.actType = self.actConfig.ActiveType
|
self.actType = self.actConfig.ActiveType
|
||||||
--每日每周任务页签拆分用
|
--每日每周任务页签拆分用
|
||||||
if self.actConfig.ShopData[1][1] == -9999 then
|
if self.actConfig.ShopData and self.actConfig.ShopData[1][1] == -9999 then
|
||||||
self.actType = 20000
|
self.actType = 20000
|
||||||
end
|
end
|
||||||
if self.actConfig.IfBack == 1 then
|
if self.actConfig.IfBack == 1 then
|
||||||
|
|
Loading…
Reference in New Issue