Files
mp-10579/src/config/menu.ts
赵忠林 4af50e6449 style(api): 统一代码格式化规范
- 调整 import 语句格式,统一空格和引号风格
- 修复函数参数跨行时的格式对齐问题
- 清理多余空行和注释中的空白字符
- 统一对象属性结尾逗号的使用规范
- 规范化字符串拼接和模板语法的格式
- 优化长参数列表的换行和缩进格式
2026-01-17 17:04:46 +08:00

130 lines
3.3 KiB
TypeScript

export default [
{
path: '/assets/server',
component: '/assets/server',
meta: { title: '服务器管理', icon: 'AuditOutlined' }
},
{
path: '/project',
component: '/project',
meta: { title: '项目管理', icon: 'CodeOutlined' }
},
{
path: '/customer',
component: '/customer',
meta: { title: '客户管理', icon: 'CrownOutlined' }
},
{
path: '/content/article',
component: '/content/article',
meta: { title: '文章管理', icon: 'FileSearchOutlined' }
},
{
path: '/content/docs/:id',
component: '/content/docs',
meta: { title: '文档管理', icon: 'ReadOutlined' }
},
{
path: '/task/index',
component: '/task/index',
meta: { title: '任务管理', icon: 'HistoryOutlined' }
},
{
path: '/appstore',
component: '/appstore',
meta: { title: '应用管理', icon: 'AppstoreOutlined' }
},
{
path: '/shop',
redirect: '/shop/shopMerchantApply',
meta: { title: '商城管理', icon: 'ShoppingOutlined' },
children: [
{
path: '/shop/shopMerchantApply',
component: '/shop/shopMerchantApply',
meta: { title: '商户入驻申请', icon: 'UserAddOutlined' }
}
]
},
{
path: '/system',
redirect: '/system/user',
meta: { title: '系统管理', icon: 'SettingOutlined' },
children: [
{
path: '/system/user',
component: '/system/user'
},
{
path: '/system/role',
component: '/system/role',
meta: { title: '角色管理', icon: 'IdcardOutlined' }
},
{
path: '/system/menu',
component: '/system/menu',
meta: { title: '菜单管理', icon: 'AppstoreOutlined' }
},
{
path: '/system/dictionary',
component: '/system/dictionary',
meta: { title: '字典管理', icon: 'ProfileOutlined' }
},
{
path: '/system/organization',
component: '/system/organization'
},
{
path: '/system/file',
component: '/system/file',
meta: { title: '文件管理', icon: 'FolderOutlined' }
},
{
path: '/system/login-record',
component: '/system/login-record',
meta: { title: '登录日志', icon: 'CalendarOutlined' }
},
{
path: '/system/operation-record',
component: '/system/operation-record',
meta: { title: '操作日志', icon: 'FileSearchOutlined' }
},
{
path: '/system/tenant',
component: '/system/tenant',
meta: { title: '租户管理', icon: 'TeamOutlined' }
},
{
path: '/system/setting',
component: '/system/setting',
meta: { title: '系统设置', icon: 'SettingOutlined' }
}
]
},
// 账号中心
{
path: '/user',
hide: true,
redirect: '/user/profile',
meta: { title: '账号中心' },
children: [
{
path: '/user/profile',
component: '/user/profile',
meta: { title: '账号中心', hide: false }
},
{
path: '/user/message',
component: '/user/message',
meta: { title: '我的消息', hide: false }
}
]
},
{
path: '/register',
hide: true,
component: '/passport/register/index.vue',
meta: { title: '免费注册' }
}
];