mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-25 11:00:13 +01:00
⚡ 改进创建文档性能 Fix https://github.com/siyuan-note/siyuan/issues/7175
This commit is contained in:
parent
a5229de6d0
commit
5da5ae8818
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ func Heading2Doc(srcHeadingID, targetBoxID, targetPath string) (srcRootBlockID,
|
|||
}
|
||||
srcRootBlockID = srcTree.Root.ID
|
||||
|
||||
headingBlock, err := getBlock(srcHeadingID)
|
||||
headingBlock, err := getBlock(srcHeadingID, srcTree)
|
||||
if nil != err {
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue