完善页面

This commit is contained in:
2026-01-29 17:54:35 +08:00
parent 9f3c2803e3
commit fcc976680d
95 changed files with 4595 additions and 10542 deletions

View File

@@ -14,15 +14,26 @@ export type TagItem = {
export type MenuChild = {
id: string
title: string
path: string
// ✅ 目录节点可以没有 path
path?: string | null
// ✅ 允许四级
children?: MenuChild[] | null
}
export type MenuGroup = {
id?:string
id?: string | null
title: string
children: MenuChild[]
// ✅ 允许 group 自己也能当叶子直接跳转(可选)
path?: string | null
// ✅ children 允许缺省/为空
children?: MenuChild[] | null
}
export type MenuItem = {
id: string
title: string