mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 支持配置闪卡 https://github.com/siyuan-note/siyuan/issues/7704 https://github.com/siyuan-note/siyuan/issues/7695 https://github.com/siyuan-note/siyuan/issues/7703 https://github.com/siyuan-note/siyuan/issues/7701 https://github.com/siyuan-note/siyuan/issues/7702 https://github.com/siyuan-note/siyuan/issues/7724
This commit is contained in:
parent
9d9747c59c
commit
1db4f8103b
11 changed files with 54 additions and 48 deletions
|
|
@ -95,12 +95,12 @@ func setFlashcard(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
if 1 > flashcard.DailyNewCardLimit {
|
||||
flashcard.DailyNewCardLimit = 1
|
||||
if 1 > flashcard.NewCardLimit {
|
||||
flashcard.NewCardLimit = 1
|
||||
}
|
||||
|
||||
if 1 > flashcard.DailyReviewCardLimit {
|
||||
flashcard.DailyReviewCardLimit = 1
|
||||
if 1 > flashcard.ReviewCardLimit {
|
||||
flashcard.ReviewCardLimit = 1
|
||||
}
|
||||
|
||||
model.Conf.Flashcard = flashcard
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue