mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00: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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user