🎨 Improve blocktree

This commit is contained in:
Daniel 2024-07-02 12:09:59 +08:00
parent a8b3f6cc25
commit 415607f6dd
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 4 additions and 7 deletions

View file

@ -1638,11 +1638,8 @@ func removeDoc(box *Box, p string, luteEngine *lute.Lute) {
continue
}
// 刷新文档关联的数据库 https://github.com/siyuan-note/siyuan/issues/11731
syncDelete2AttributeView(removeTree.Root)
// 解绑数据库关联
removeAvBlockRel(removeTree.Root)
syncDelete2Block(removeTree.Root)
}
if existChildren {