统计普通成员多次渲染

master
罗家炜 2025-06-14 23:12:18 +08:00
parent 4bc502a787
commit 4dab4838c5
1 changed files with 5 additions and 0 deletions

View File

@ -73,6 +73,11 @@ function M:NewRecordTableChildQian(table, isMe, fatherId)
pt(table) pt(table)
local childNum = #table - isMe local childNum = #table - isMe
local fatherList = self.record_total_data[fatherId].list local fatherList = self.record_total_data[fatherId].list
if self.record_total_data[fatherId].showMumber then
ViewUtil.ErrorTip(nil, "已展示全部普通成员")
return
end
self.record_total_data[fatherId].showMumber = true
self:RecursionChangeHeight(fatherId, childNum) self:RecursionChangeHeight(fatherId, childNum)
for i = 1 + isMe, childNum + isMe do for i = 1 + isMe, childNum + isMe do
local mainRecord = table[i] local mainRecord = table[i]