feat(参照标准): 规范包内路径与资源引用
build.yaml / build (push) Successful in 44s

This commit is contained in:
xiaoqidun committed 2026-10-11 21:12:09 +08:00
1 parent d7e9604282
commit 225f60919b
6 files changed
+30 -30

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ func (e *Editor) CaptureAnnotations(page int, ids []string) (*AnnotationSelectio
if e.originalPage(page) {
origin := e.source.pages[e.pages[page].ID]
for _, name := range content.PageRes {
selection.resources = append(selection.resources, e.source.reader.ResPath(resolveResourcePath(origin.ref.BaseLoc, "", name)))
selection.resources = append(selection.resources, resolveResourcePath(e.source.reader.ResPath(origin.ref.BaseLoc), "", name))
}
}
return selection, nil