feat(编辑能力): 完善元数据全字段展示与编辑
build.yaml / build (push) Successful in 42s

This commit is contained in:
xiaoqidun committed 2026-10-25 20:39:50 +08:00
1 parent 986295ae57
commit 2cec0b17d3
9 files changed
+277 -136

No files matched your search

+6
View File
@@ -49,6 +49,8 @@ type DocInfo struct {
Abstract string `xml:"Abstract"`
CreationDate string `xml:"CreationDate"`
ModDate string `xml:"ModDate"`
DocUsage string `xml:"DocUsage"`
Cover string `xml:"Cover"`
Keywords Keywords `xml:"Keywords,omitempty"`
Creator string `xml:"Creator"`
CreatorVersion string `xml:"CreatorVersion"`
@@ -133,6 +135,10 @@ func (info *DocInfo) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
target = &info.CreationDate
case "ModDate":
target = &info.ModDate
case "DocUsage":
target = &info.DocUsage
case "Cover":
target = &info.Cover
case "Keywords":
target = &info.Keywords
case "Creator":