mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 16:58:49 +01:00
🐛 文档转换标题后文档树刷新不正确 https://github.com/siyuan-note/siyuan/issues/7435
This commit is contained in:
parent
0cb20273fa
commit
872378dded
1 changed files with 1 additions and 0 deletions
|
|
@ -98,6 +98,7 @@ func ListItem2Doc(srcListItemID, targetBoxID, targetPath string) (srcRootBlockID
|
|||
if nil == srcTree.Root.FirstChild {
|
||||
srcTree.Root.AppendChild(treenode.NewParagraph())
|
||||
}
|
||||
treenode.RemoveBlockTreesByRootID(srcTree.ID)
|
||||
if err = indexWriteJSONQueue(srcTree); nil != err {
|
||||
return "", "", err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue