fix(common): prod hide lidar

This commit is contained in:
zhangheng
2026-04-15 17:10:08 +08:00
parent 72b1dacf1c
commit da6a33a368

View File

@@ -23,6 +23,17 @@ const currentComponentList: MenuItem[] = [
}, },
] ]
const lidarList: MenuItem[] =
process.env.NEXT_PUBLIC_ENV === "production"
? []
: [
{
title: "点云标注",
url: "lidar",
icon: "LidarAnnotationIcon",
},
]
export const componentList: MenuItem[] = [ export const componentList: MenuItem[] = [
{ {
title: "个人中心", title: "个人中心",
@@ -35,11 +46,7 @@ export const componentList: MenuItem[] = [
url: "video", url: "video",
icon: "VideoAnnotationIcon", icon: "VideoAnnotationIcon",
}, },
{ ...lidarList,
title: "点云标注",
url: "lidar",
icon: "LidarAnnotationIcon",
},
{ {
title: "管理中心", title: "管理中心",
url: "mgt", url: "mgt",