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
67c8933419
commit
9d9747c59c
1 changed files with 6 additions and 0 deletions
|
|
@ -318,6 +318,12 @@ func InitConf() {
|
|||
if nil == Conf.Flashcard {
|
||||
Conf.Flashcard = conf.NewFlashcard()
|
||||
}
|
||||
if 1 > Conf.Flashcard.DailyNewCardLimit {
|
||||
Conf.Flashcard.DailyNewCardLimit = 20
|
||||
}
|
||||
if 1 > Conf.Flashcard.DailyReviewCardLimit {
|
||||
Conf.Flashcard.DailyReviewCardLimit = 200
|
||||
}
|
||||
|
||||
if nil == Conf.AI {
|
||||
Conf.AI = conf.NewAI()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue