mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 10:30:13 +01:00
This commit is contained in:
parent
2ebfc42093
commit
b3c9ec36bb
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ func Export2Liandi(id string) (err error) {
|
|||
|
||||
if !foundArticle {
|
||||
articleId = result.Data.(string)
|
||||
tree, _ = loadTreeByBlockID(id) // 这里需要重新加载,因为前面导出时已经修改了树结构
|
||||
tree, _ = loadTreeByBlockID(id) // 这里必须重新加载,因为前面导出时已经修改了树结构
|
||||
tree.Root.SetIALAttr("liandiArticleId", articleId)
|
||||
if err = writeJSONQueue(tree); nil != err {
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue