feat(编辑能力): 新增画笔和注解创建,完善水印、印章与链接编辑,优化选取和保存体验
build.yaml / build (push) Successful in 39s

This commit is contained in:
xiaoqidun committed 2026-09-18 08:34:35 +08:00
1 parent ed11ade4e8
commit a8346a6006
23 files changed
+2297 -104

No files matched your search

+5
View File
@@ -156,8 +156,13 @@ func (r *Reader) parseAnnotations(doc *Document) error {
if r.Annots == nil {
r.Annots = make(map[string][]Annotation)
}
r.annotationFiles = make(map[string][]string)
for _, page := range annotations.Page {
annotPath := resolveResourcePath(annPath, "", page.FileLoc)
if file, ok := r.packageFile(annotPath); ok {
annotPath = cleanPackagePath(file.Name)
}
r.annotationFiles[annotPath] = append(r.annotationFiles[annotPath], page.PageID)
af, err := r.openFile(annotPath)
if err != nil {
continue