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

View file

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