连续礼包处理

PC-202302260912\Administrator 2024-04-10 19:29:26 +08:00
parent b824988ae0
commit ed08a733c7
1 changed files with 7 additions and 1 deletions

View File

@ -76,7 +76,13 @@ end
--界面打开或者重新打开后,界面刷新时调用(用于子类重写)
function ContinuePackagePanel:OnShow()
self.curPage = 1
self.curPage = 3
for i = 1, 3 do
if self.actData and self.actData.rewards[i] and #self.actData.rewards[i] >0 then
self.curPage=i
break
end
end
ContinuePackagePanel:Refresh(true,true)
end