This commit is contained in:
xiekaidong 2023-05-30 17:50:32 +08:00
commit 1abca26819

View File

@ -21,7 +21,12 @@ function SevenDayUI:getCurrencyParams()
end
function SevenDayUI:ctor()
self.day = 1
self.day = DataManager.SevenDayData:getActDay()
if self.day < 0 then
self.day = 1
elseif self.day > 7 then
self.day = 7
end
end
function SevenDayUI:onLoadRootComplete()