From 2ebfc4209390762ee5c04cd79acb96e886650d8f Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Mon, 2 Jan 2023 22:39:28 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E5=88=86=E4=BA=AB=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E5=88=B0=E9=93=BE=E6=BB=B4=20https://github.com/siyua?= =?UTF-8?q?n-note/siyuan/issues/2004?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/export.go | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/model/export.go b/kernel/model/export.go index 81d7502fe..35746ff89 100644 --- a/kernel/model/export.go +++ b/kernel/model/export.go @@ -130,6 +130,7 @@ func Export2Liandi(id string) (err error) { if !foundArticle { articleId = result.Data.(string) + tree, _ = loadTreeByBlockID(id) // 这里需要重新加载,因为前面导出时已经修改了树结构 tree.Root.SetIALAttr("liandiArticleId", articleId) if err = writeJSONQueue(tree); nil != err { return