This commit is contained in:
Daniel 2025-08-09 17:10:22 +08:00
parent 8ca9f119d0
commit a9c2ae7351
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
5 changed files with 35 additions and 0 deletions

View file

@ -123,6 +123,10 @@ func (baseInstance *BaseInstance) SetGroupFolded(folded bool) {
baseInstance.GroupFolded = folded
}
func (baseInstance *BaseInstance) GetGroupHidden() int {
return baseInstance.GroupHidden
}
func (baseInstance *BaseInstance) SetGroupHidden(hidden int) {
baseInstance.GroupHidden = hidden
}
@ -182,6 +186,9 @@ type Collection interface {
// SetItems 设置集合中的项目。
SetItems(items []Item)
// CountItems 返回集合中的项目数量。
CountItems() int
// GetFields 返回集合的所有字段。
GetFields() []Field