This commit is contained in:
Liang Ding 2023-01-02 22:39:28 +08:00
parent 53d97e60db
commit 2ebfc42093
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -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