抽卡修改提交

dev_chengFeng
DESKTOP-98AVA47\Administrator 2021-07-16 10:30:56 +08:00
parent 59de7adf87
commit 04c9ab3b6b
1 changed files with 2 additions and 2 deletions

View File

@ -178,7 +178,7 @@ function RecruitMainPanel:BindEvent()
end end
end end
end end
self.CurRecruitId = self.dicData[self.curPage].ShopData[1][1]
self.lastPage = self.curPage - 1 > 0 and self.curPage - 1 or #self.dicData self.lastPage = self.curPage - 1 > 0 and self.curPage - 1 or #self.dicData
self.nextPage = self.curPage + 1 > #self.dicData and 1 or self.curPage + 1 self.nextPage = self.curPage + 1 > #self.dicData and 1 or self.curPage + 1
this:SetIndex() this:SetIndex()
@ -195,7 +195,7 @@ function RecruitMainPanel:BindEvent()
end end
end end
end end
self.CurRecruitId = self.dicData[self.curPage].ShopData[1][1]
self.lastPage = self.curPage - 1 > 0 and self.curPage - 1 or #self.dicData self.lastPage = self.curPage - 1 > 0 and self.curPage - 1 or #self.dicData
self.nextPage = self.curPage + 1 > #self.dicData and 1 or self.curPage + 1 self.nextPage = self.curPage + 1 > #self.dicData and 1 or self.curPage + 1
this:SetIndex() this:SetIndex()