Merge branch 'zh' into 'main'

fix(common): prod hide lidar

See merge request prism/lable/labelmain!11
This commit is contained in:
刘耀勇
2026-04-15 18:39:31 +08:00

View File

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