feat(project): init
This commit is contained in:
55
components/layout/common.ts
Normal file
55
components/layout/common.ts
Normal file
@@ -0,0 +1,55 @@
|
||||
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: "pointcloud",
|
||||
icon: "SystemIcon",
|
||||
},
|
||||
{
|
||||
title: "管理中心",
|
||||
url: "admin",
|
||||
icon: "SystemIcon",
|
||||
},
|
||||
]
|
||||
|
||||
export const showList: MenuItem[] = []
|
||||
Reference in New Issue
Block a user