mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
🎨 闪卡管理添加复习次数、卡片总数及路径优化 https://github.com/siyuan-note/siyuan/issues/7761
This commit is contained in:
parent
f1db1643e0
commit
ee1dd4e1cb
2 changed files with 3 additions and 1 deletions
|
|
@ -62,6 +62,7 @@ type Block struct {
|
|||
Updated string `json:"updated"`
|
||||
|
||||
RiffCardID string `json:"riffCardID"`
|
||||
RiffCardReps uint64 `json:"riffCardReps"`
|
||||
}
|
||||
|
||||
func (block *Block) IsContainerBlock() bool {
|
||||
|
|
|
|||
|
|
@ -178,6 +178,7 @@ func getCardsBlocks(cards []riff.Card, page int) (blocks []*Block, total, pageCo
|
|||
}
|
||||
|
||||
b.RiffCardID = cards[i].ID()
|
||||
b.RiffCardReps = cards[i].(*riff.FSRSCard).C.Reps
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue