You've already forked DataMate
feat(layout): 隐藏数据归集和数据清洗菜单项并添加首页路由
- 注释掉数据归集菜单项 - 注释掉数据清洗菜单项 - 注释掉算子市场菜单项 - 注释掉侧边栏中的任务中心弹窗组件 - 添加首页路由配置 - 将根路径重定向改为首页组件渲染
This commit is contained in:
@@ -14,13 +14,13 @@ import {
|
||||
} from "lucide-react";
|
||||
|
||||
export const menuItems = [
|
||||
{
|
||||
id: "collection",
|
||||
title: "数据归集",
|
||||
icon: Database,
|
||||
description: "创建、导入和管理数据集",
|
||||
color: "bg-orange-500",
|
||||
},
|
||||
// {
|
||||
// id: "collection",
|
||||
// title: "数据归集",
|
||||
// icon: Database,
|
||||
// description: "创建、导入和管理数据集",
|
||||
// color: "bg-orange-500",
|
||||
// },
|
||||
{
|
||||
id: "management",
|
||||
title: "数据管理",
|
||||
@@ -28,13 +28,13 @@ export const menuItems = [
|
||||
description: "创建、导入和管理数据集",
|
||||
color: "bg-blue-500",
|
||||
},
|
||||
{
|
||||
id: "cleansing",
|
||||
title: "数据清洗",
|
||||
icon: GitBranch,
|
||||
description: "数据清洗和预处理",
|
||||
color: "bg-purple-500",
|
||||
},
|
||||
// {
|
||||
// id: "cleansing",
|
||||
// title: "数据清洗",
|
||||
// icon: GitBranch,
|
||||
// description: "数据清洗和预处理",
|
||||
// color: "bg-purple-500",
|
||||
// },
|
||||
{
|
||||
id: "annotation",
|
||||
title: "数据标注",
|
||||
@@ -69,13 +69,13 @@ export const menuItems = [
|
||||
// description: "质量分析、性能评估和偏见检测",
|
||||
// color: "bg-indigo-500",
|
||||
// },
|
||||
{
|
||||
id: "operator-market",
|
||||
title: "算子市场",
|
||||
icon: Store,
|
||||
description: "算子上传与管理",
|
||||
color: "bg-yellow-500",
|
||||
},
|
||||
// {
|
||||
// id: "operator-market",
|
||||
// title: "算子市场",
|
||||
// icon: Store,
|
||||
// description: "算子上传与管理",
|
||||
// color: "bg-yellow-500",
|
||||
// },
|
||||
];
|
||||
|
||||
export const features = [
|
||||
|
||||
Reference in New Issue
Block a user