🎨 尝试定位 未找到 ID 为 xxx 的内容块 https://github.com/siyuan-note/siyuan/issues/7215

This commit is contained in:
Liang Ding 2023-01-31 22:20:33 +08:00
parent bb24468f9b
commit 7aea03db69
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 23 additions and 9 deletions

View file

@ -108,7 +108,7 @@ func autoFixIndex() {
redundantPaths := treenode.GetRedundantPaths(box.ID, paths)
for _, p := range redundantPaths {
treenode.RemoveBlockTreesByPath(p)
treenode.RemoveBlockTreesByPath(box.ID, p)
}
missingPaths := treenode.GetNotExistPaths(box.ID, paths)