This commit is contained in:
Daniel 2025-07-29 11:59:15 +08:00
parent 2ce3f00724
commit 18c6e7bcdc
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 47 additions and 56 deletions

View file

@ -202,11 +202,6 @@ type View struct {
GroupHidden int `json:"groupHidden"` // 分组是否隐藏0显示1空白隐藏2手动隐藏
}
const (
GroupValueDefault = "_@default@_" // 默认分组值(值为空的默认分组)
GroupValueNotInRange = "_@notInRange@_" // 不再范围内的分组值(只有数字类型的分组才可能是该值)
)
// GetGroup 获取指定分组 ID 的分组视图。
func (view *View) GetGroup(groupID string) *View {
if nil == view.Groups {