【新人商城】结束后关闭
parent
2eb83d4c63
commit
0e732fa8b6
|
@ -354,6 +354,14 @@ function EveryDayGiftNew:GetRemainTime()
|
|||
self.localTimer = Timer.New(function ()
|
||||
self.endTime.text = la..TimeToFelaxible(freshTime)
|
||||
if freshTime <= 0 then
|
||||
if self.actConfig.ActiveType > 0 then
|
||||
local id = ActivityGiftManager.IsActivityTypeOpen(self.actConfig.ActiveType)
|
||||
if id then
|
||||
self:RefreshData(nil,true,true)
|
||||
else
|
||||
self.parent:ClosePanel()
|
||||
end
|
||||
end
|
||||
self:RefreshData(nil,true,true)
|
||||
end
|
||||
if actData then
|
||||
|
|
Loading…
Reference in New Issue