This commit is contained in:
puxuan 2025-10-29 21:31:28 +08:00
parent 784b56cefe
commit 1049c97dc6
2 changed files with 2 additions and 7 deletions

View File

@ -17,7 +17,7 @@ function SideBarSignCell:onClick()
end end
function SideBarSignCell:getIsShowRedPoint() function SideBarSignCell:getIsShowRedPoint()
return DataManager.SignMonthData:showRedPoint()-- or DataManager.SignWeekData:showRedPoint() return DataManager.SignWeekData:showRedPoint()-- or DataManager.SignMonthData:showRedPoint()
end end
function SideBarSignCell:getCellName() function SideBarSignCell:getCellName()

View File

@ -31,12 +31,7 @@ function ActSevenDayData:initData(data)
end end
end end
self.taskData = data.tasks or {} self.taskData = data.tasks or {}
local claimedIdMap = {} self.scoreReceivedIds = data.claimed or {}
if data.claimed then
for index, id in ipairs(data.claimed) do
claimedIdMap[id] = true
end
end
-- local taskProgress = data.tasks or {} -- local taskProgress = data.tasks or {}
-- for id, info in pairs(self:getTaskCfg()) do -- for id, info in pairs(self:getTaskCfg()) do
-- local maxCount = info.number or 1 -- local maxCount = info.number or 1