mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 15:40:12 +01:00
This commit is contained in:
parent
fa897e91d5
commit
4af7fef6e4
1 changed files with 5 additions and 0 deletions
|
|
@ -251,6 +251,11 @@ func searchTreeInFilesystem(rootID string) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if nil == Conf.Box(boxID) {
|
||||||
|
// 如果笔记本不存在或者已经关闭,则不处理 https://github.com/siyuan-note/siyuan/issues/11149
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
treenode.IndexBlockTree(tree)
|
treenode.IndexBlockTree(tree)
|
||||||
sql.IndexTreeQueue(tree)
|
sql.IndexTreeQueue(tree)
|
||||||
logging.LogInfof("reindexed tree by filesystem [rootID=%s]", rootID)
|
logging.LogInfof("reindexed tree by filesystem [rootID=%s]", rootID)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue