diff --git a/task_snapshot.go b/task_snapshot.go index d02722b..58e41fd 100644 --- a/task_snapshot.go +++ b/task_snapshot.go @@ -251,6 +251,9 @@ func (s TaskSnapshot) SummaryBody() []UINode { if s.Coverage != "" { body = append(body, UINode{Type: UIKV, KV: [][2]string{{"提供范围", s.Coverage}}}) } + if len(s.Limitations) > 0 { + body = append(body, UINode{Type: UIList, Title: "范围与限制", Items: s.Limitations}) + } for _, r := range s.ResultRefs { if r.ArtifactID != "" && r.Availability == "available" { body = append(body, UINode{Type: UIDocRef, DocID: r.ArtifactID, Title: r.Name})