mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-23 15:34:06 +01:00
🎨 数据同步后需要重新加载图片 OCR 提取结果 Fix https://github.com/siyuan-note/siyuan/issues/7114
This commit is contained in:
parent
9c626ebc0b
commit
175a938eec
7 changed files with 21 additions and 9 deletions
|
|
@ -359,7 +359,7 @@ func AddFlashcards(deckID string, blockIDs []string) (err error) {
|
|||
return
|
||||
}
|
||||
|
||||
func InitFlashcards() {
|
||||
func LoadFlashcards() {
|
||||
riffSavePath := getRiffDir()
|
||||
if err := os.MkdirAll(riffSavePath, 0755); nil != err {
|
||||
logging.LogErrorf("create riff dir [%s] failed: %s", riffSavePath, err)
|
||||
|
|
@ -445,7 +445,7 @@ func RemoveDeck(deckID string) (err error) {
|
|||
}
|
||||
}
|
||||
|
||||
InitFlashcards()
|
||||
LoadFlashcards()
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue