mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Database table view supports paged loading https://github.com/siyuan-note/siyuan/issues/9424
This commit is contained in:
@@ -624,6 +624,7 @@ func renderAttributeViewTable(attrView *av.AttributeView, view *av.View, page, p
|
||||
|
||||
// 分页
|
||||
ret.RowCount = len(ret.Rows)
|
||||
ret.PageSize = view.Table.PageSize
|
||||
if 0 < pageSize {
|
||||
start := (page - 1) * pageSize
|
||||
end := start + pageSize
|
||||
|
||||
Reference in New Issue
Block a user