【首充】=====领完报错修改
parent
0008793a34
commit
dfdb31ecfa
|
|
@ -192,6 +192,10 @@ function FirstRechargePanel:OnShow()
|
||||||
--self.reChargeTips.text = string.format("已充值 %s 元", FirstRechargeManager.GetAccumRechargeValue())
|
--self.reChargeTips.text = string.format("已充值 %s 元", FirstRechargeManager.GetAccumRechargeValue())
|
||||||
self.activityInfo = ActivityGiftManager.GetActivityTypeInfo(ActivityTypeDef.FirstRecharge)
|
self.activityInfo = ActivityGiftManager.GetActivityTypeInfo(ActivityTypeDef.FirstRecharge)
|
||||||
local AccumRecharge = 0
|
local AccumRecharge = 0
|
||||||
|
if not self.activityInfo then
|
||||||
|
self:ClosePanel()
|
||||||
|
return
|
||||||
|
end
|
||||||
_MoneyDataNum = {}
|
_MoneyDataNum = {}
|
||||||
for _, missInfo in ipairs(self.activityInfo.mission) do
|
for _, missInfo in ipairs(self.activityInfo.mission) do
|
||||||
if missInfo and missInfo.progress then
|
if missInfo and missInfo.progress then
|
||||||
|
|
@ -209,7 +213,7 @@ function FirstRechargePanel:OnShow()
|
||||||
end
|
end
|
||||||
|
|
||||||
-- 判断数据
|
-- 判断数据
|
||||||
local minIndex
|
local minIndex=1
|
||||||
for index, dataList in pairs(_MoneyDataNum) do
|
for index, dataList in pairs(_MoneyDataNum) do
|
||||||
if dataList and #dataList > 0 then
|
if dataList and #dataList > 0 then
|
||||||
-- 排序
|
-- 排序
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue