This commit is contained in:
Daniel 2025-07-25 17:57:51 +08:00
parent e7a8a9906e
commit 0e8ce9ddf9
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 33 additions and 9 deletions

View file

@ -199,7 +199,7 @@ type View struct {
GroupCalc *GroupCalc `json:"groupCalc,omitempty"` // 分组计算规则
GroupName string `json:"groupName,omitempty"` // 分组名称
GroupFolded bool `json:"groupFolded"` // 分组是否折叠
GroupHidden bool `json:"groupHidden"` // 分组是否隐藏
GroupHidden int `json:"groupHidden"` // 分组是否隐藏0显示1空白隐藏2手动隐藏
}
// GroupCalc 描述了分组计算规则和结果的结构。
@ -290,7 +290,8 @@ type Viewable interface {
SetGroupFolded(folded bool)
// SetGroupHidden 设置分组是否隐藏。
SetGroupHidden(hidden bool)
// hidden 0显示1空白隐藏2手动隐藏
SetGroupHidden(hidden int)
}
func NewAttributeView(id string) (ret *AttributeView) {