feat: menu display follow NE installed

This commit is contained in:
zhangsz
2025-07-17 17:43:35 +08:00
parent 990070df2c
commit 74003786a9
4 changed files with 22 additions and 16 deletions

View File

@@ -13,5 +13,6 @@ type RouterMeta struct {
// 在菜单中隐藏子节点
HideChildInMenu bool `json:"hideChildInMenu"`
// 在菜单中隐藏自己和子节点
HideInMenu bool `json:"hideInMenu"`
HideInMenu bool `json:"hideInMenu"`
NeType []string `json:"neType,omitempty"` // 网元类型,默认全部,有指定类型的,需要添加网元才会显示
}