fix bug
This commit is contained in:
parent
784b56cefe
commit
1049c97dc6
@ -17,7 +17,7 @@ function SideBarSignCell:onClick()
|
||||
end
|
||||
|
||||
function SideBarSignCell:getIsShowRedPoint()
|
||||
return DataManager.SignMonthData:showRedPoint()-- or DataManager.SignWeekData:showRedPoint()
|
||||
return DataManager.SignWeekData:showRedPoint()-- or DataManager.SignMonthData:showRedPoint()
|
||||
end
|
||||
|
||||
function SideBarSignCell:getCellName()
|
||||
|
||||
@ -31,12 +31,7 @@ function ActSevenDayData:initData(data)
|
||||
end
|
||||
end
|
||||
self.taskData = data.tasks or {}
|
||||
local claimedIdMap = {}
|
||||
if data.claimed then
|
||||
for index, id in ipairs(data.claimed) do
|
||||
claimedIdMap[id] = true
|
||||
end
|
||||
end
|
||||
self.scoreReceivedIds = data.claimed or {}
|
||||
-- local taskProgress = data.tasks or {}
|
||||
-- for id, info in pairs(self:getTaskCfg()) do
|
||||
-- local maxCount = info.number or 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user