mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-21 14:34:06 +01:00
This commit is contained in:
parent
2616fa8a7c
commit
fdd8d6c717
3 changed files with 4 additions and 5 deletions
|
|
@ -44,8 +44,7 @@ func GetRepoIndexLogs(page int) (logs []*dejavu.Log, pageCount, totalCount int,
|
|||
return
|
||||
}
|
||||
|
||||
page-- // 从 0 开始
|
||||
logs, pageCount, totalCount, err = repo.GetIndexLogs(page, 32)
|
||||
logs, pageCount, totalCount, err = repo.GetIndexLogs(page, 16)
|
||||
if nil != err {
|
||||
if dejavu.ErrNotFoundIndex == err {
|
||||
logs = []*dejavu.Log{}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue