Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Menu ¶
type Menu struct { Id string `json:"id"` Name string `json:"name"` Items []*MenuItem `json:"items"` IsActive bool `json:"isActive"` AlwaysActive bool `json:"alwaysActive"` Index int `json:"index"` CountNormalItems int `json:"countNormalItems"` }
子菜单定义
type MenuItem ¶
type MenuItem struct { Id string `json:"id"` Name string `json:"name"` SubName string `json:"subName"` // 副标题 SupName string `json:"supName"` // 头标 URL string `json:"url"` IsActive bool `json:"isActive"` Icon string `json:"icon"` IsSortable bool `json:"isSortable"` SubColor string `json:"subColor"` }
菜单项
Click to show internal directories.
Click to hide internal directories.