装备摘星阁处理

dev_chengFeng
wangzhenxing 2023-01-24 19:57:57 +08:00
parent 655ba53d17
commit 4a4682981a
1 changed files with 1 additions and 1 deletions

View File

@ -636,7 +636,7 @@ function ItemView:NoGetRewardShow(_reward, effectLayer, isShowAddImage)
UIManager.OpenPanel(UIName.RewardEquipSingleShowPopup2,self, _itemData,0,true,true,nil)
end)
--摘星阁加成
if self.allData and self.allData.homeEquipLv and self.allData.homeEquipLv[1] > 0 then
if self.allData and self.allData.homeEquipLv and self.allData.homeEquipLv[1] and self.allData.homeEquipLv[1] > 0 then
self.homeLv.text = self.allData.homeEquipLv[1] > 0 and self.allData.homeEquipLv[1] or ""
self.homeProLv.text = self.allData.homeEquipLv[2] > 0 and self.allData.homeEquipLv[2] or ""
end