报错修改
parent
f676618e42
commit
25aed04450
|
@ -287,7 +287,7 @@ function RecruitMainPanel:OnOpen(_index)
|
||||||
self.CurRecruitId = TableRecruitType.Siyuanzhen
|
self.CurRecruitId = TableRecruitType.Siyuanzhen
|
||||||
else
|
else
|
||||||
local isRed = 0
|
local isRed = 0
|
||||||
for i = 1,self.dicData do
|
for i = 1,#self.dicData do
|
||||||
if self.dicData[i].RpType and self.dicData[i].RpType > 0 then
|
if self.dicData[i].RpType and self.dicData[i].RpType > 0 then
|
||||||
if RecruitManager.GetAllRecruitBtnRedpoint(self.dicData[i].RpType) then
|
if RecruitManager.GetAllRecruitBtnRedpoint(self.dicData[i].RpType) then
|
||||||
isRed = self.dicData[i].ShopData[1][1]
|
isRed = self.dicData[i].ShopData[1][1]
|
||||||
|
|
Loading…
Reference in New Issue