242
个编辑
Willson-v-(讨论 | 贡献) 无编辑摘要 |
Willson-v-(讨论 | 贡献) 无编辑摘要 |
||
第156行: | 第156行: | ||
table.sort(tot_row_ids) | table.sort(tot_row_ids) | ||
local tab_count = math. | local tab_count = math.ceil(tableLength(tot_row_ids) / item_per_tab) | ||
local tabs_row_ids = {} | local tabs_row_ids = {} | ||
第162行: | 第162行: | ||
if tab_count == 1 then | if tab_count == 1 then | ||
return renderTable(args, next(tabs_row_ids)) | return renderTable(args, next(tabs_row_ids)) | ||
end | end | ||