mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-14 19:18:06 +01:00
🐛 闪卡预览的下一页可以一直点击 https://github.com/siyuan-note/siyuan/issues/7173
This commit is contained in:
parent
90516de22e
commit
3432320112
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ func GetFlashcards(deckID string, page int) (blocks []*Block, total, pageCount i
|
|||
start := (page - 1) * pageSize
|
||||
end := page * pageSize
|
||||
if start > len(allBlockIDs) {
|
||||
return
|
||||
start = len(allBlockIDs)
|
||||
}
|
||||
if end > len(allBlockIDs) {
|
||||
end = len(allBlockIDs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue