From b3c9ec36bb8471bd36e705f51a960f158150ac26 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Mon, 2 Jan 2023 22:39:40 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/export.go b/kernel/model/export.go index 35746ff89..c8a27f109 100644 --- a/kernel/model/export.go +++ b/kernel/model/export.go @@ -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