Files
labelimage/components/layout/common.ts
2026-03-16 15:55:33 +08:00

56 lines
949 B
TypeScript

export interface MenuItem {
url: string
title: string
icon?: string
isActive?: boolean
items?: MenuItem[]
}
export const withoutLayoutRoutes = ["/login"]
const currentComponentList: MenuItem[] = [
{
title: "图片标注",
url: "project",
icon: "SystemIcon",
items: [
{
title: "个人项目",
url: "own",
icon: "PersonalMenuIcon",
},
{
title: "项目设置",
url: "setting",
icon: "PersonalMenuIcon",
},
],
},
]
export const componentList: MenuItem[] = [
{
title: "个人中心",
url: "person",
icon: "PersonalMenuIcon",
},
...currentComponentList,
{
title: "视频标注",
url: "video",
icon: "SystemIcon",
},
{
title: "点云标注",
url: "lidar",
icon: "SystemIcon",
},
{
title: "管理中心",
url: "mgt",
icon: "SystemIcon",
},
]
export const showList: MenuItem[] = []