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 MenuGroup ¶
type MenuGroup struct {
Menus []*Menu `json:"menus"`
}
菜单分组
type MenuItem ¶
type MenuItem struct {
Id string `json:"id"`
Name string `json:"name"`
SubName string `json:"subName"`
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.