This commit is contained in:
Daniel 2025-03-15 17:05:09 +08:00
parent 8418e3a454
commit b3dbcec3cc
No known key found for this signature in database
GPG Key ID: 86211BA83DF03017

View File

@ -281,10 +281,10 @@ func parseJSON2Tree(boxID, p string, jsonData []byte, luteEngine *lute.Lute) (re
if pathID := util.GetTreeID(p); pathID != ret.Root.ID {
needFix = true
logging.LogInfof("reset tree id from [%s] to [%s]", ret.Root.ID, pathID)
ret.Root.ID = pathID
ret.ID = pathID
ret.Root.SetIALAttr("id", ret.ID)
logging.LogInfof("reset tree id from [%s] to [%s]", ret.Root.ID, pathID)
}
if needFix {