export interface MenuItem { url: string title: string icon?: string isActive?: boolean items?: MenuItem[] } export const withoutLayoutRoutes = [ "/login", "/component/label/picture/standalone", ] export const componentList: MenuItem[] = [ { title: "管理平台", url: "management", icon: "SystemIcon", items: [ { title: "个人中心", url: "person", items: [ { title: "个人看板", url: "dashboard", }, { title: "个人日报", url: "report", }, { title: "我的收藏", url: "collection", }, ], }, { title: "项目管理", url: "project", items: [ { title: "全部项目", url: "all", }, { title: "动态项目", url: "dynamic", }, { title: "项目审核", url: "audit", }, ], }, ], }, // { // title: "组件模块", // url: "component", // icon: "SystemIcon", // items: [ // { // title: "基本组件", // icon: "ResourceIcon", // url: "base", // items: [ // { // title: "部门组件", // url: "department", // }, // { // title: "布局组件", // url: "placement", // }, // { // title: "选择组件", // url: "select", // }, // ], // }, // { // title: "标注组件", // icon: "ExampleIcon", // url: "label", // items: [ // { // title: "标注登录", // url: "login", // }, // { // title: "图片标注", // url: "picture", // }, // { // title: "视频标注", // url: "video", // }, // { // title: "视频标注2", // url: "ffmpeg", // }, // ], // }, // { // title: "表格组件", // icon: "PositionIcon", // url: "table", // items: [ // { // title: "基础表格", // url: "base", // }, // ], // }, // { // title: "视频组件", // icon: "GroupIcon", // url: "media", // items: [ // { // title: "静态视频", // url: "static", // }, // { // title: "动态媒体", // url: "dynamic", // }, // ], // }, // ], // }, ] export const showList: MenuItem[] = [ // { // title: "页面展示", // url: "show", // icon: "ExampleIcon", // items: [ // { // title: "人员管理", // icon: "UserIcon", // url: "user", // }, // ], // }, ]