Files
labelimage/components/layout/common.ts
2026-03-27 15:13:41 +08:00

51 lines
868 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",
},
],
},
]
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[] = []