This commit is contained in:
Daniel 2024-10-19 23:49:15 +08:00
parent 06a1c1a33b
commit 706b33b5d5
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -1558,6 +1558,7 @@ func exportSYZip(boxID, rootDirPath, baseFolderName string, docPaths []string) (
refTrees[refTreeID] = refTree
}
}
count++
}
util.PushEndlessProgress(Conf.Language(65))
@ -1589,6 +1590,7 @@ func exportSYZip(boxID, rootDirPath, baseFolderName string, docPaths []string) (
util.PushEndlessProgress(Conf.language(65) + " " + fmt.Sprintf(Conf.Language(66), fmt.Sprintf("%d/%d ", count, total)+tree.HPath))
}
count = 0
// 引用树放在导出文件夹根路径下
for treeID, tree := range refTrees {
readPath := filepath.Join(util.DataDir, tree.Box, tree.Path)