refactor: unify header tab menu definitions

This commit is contained in:
jxxghp
2026-06-03 07:21:34 +08:00
parent 8c3380e8f5
commit 841e9479af
9 changed files with 50 additions and 79 deletions
+9
View File
@@ -121,11 +121,20 @@ export interface NavLink extends NavLinkProps, Partial<AclProperties> {
disable?: boolean
}
export interface NavMenuTabItem {
title: string
icon?: string
tab: string
description?: string
}
export interface NavMenu extends NavLink {
header: string
description?: string
admin?: boolean
footer?: boolean
// 水平三级菜单和页面动态标签页共用的静态标签定义。
tabs?: NavMenuTabItem[]
}
// 👉 Vertical nav group