mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-27 11:58:49 +01:00
🎨 尝试定位 未找到 ID 为 xxx 的内容块 https://github.com/siyuan-note/siyuan/issues/7215
This commit is contained in:
parent
bb24468f9b
commit
7aea03db69
3 changed files with 23 additions and 9 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue