修复跳转充值界面后黑屏卡死的问题

dev_chengFeng
gaoxin 2020-07-27 15:25:42 +08:00
parent 19a069994b
commit ea7ee1141b
1 changed files with 5 additions and 1 deletions

View File

@ -94,7 +94,11 @@ function MainShopPanel:OnOpen(chooseIndex)
-- 初始化tab数据
this.PageTabCtrl:Init(this.tabbox, _PageInfo)
this._CurPageIndex = chooseIndex or 1
this._CurPageIndex = 1
if chooseIndex and _PageInfo[chooseIndex] then
this._CurPageIndex = chooseIndex
end
end