ruoyi-plus-soybean/src/enum/route.ts

68 lines
2.1 KiB
TypeScript
Raw Normal View History

2021-09-14 01:31:29 +08:00
export enum EnumRoutePath {
'root' = '/',
2021-09-09 12:00:18 +08:00
'login' = '/login',
2021-09-14 01:31:29 +08:00
'not-found' = '/404',
'no-permission' = '/403',
'service-error' = '/500',
2021-09-17 19:50:24 +08:00
'reload' = '/reload',
// 自定义路由
2021-09-14 01:31:29 +08:00
'dashboard' = '/dashboard',
'dashboard_analysis' = '/dashboard/analysis',
'dashboard_workbench' = '/dashboard/workbench',
2021-10-19 10:47:16 +08:00
'document' = '/document',
'document_vue' = '/document/vue',
'document_vite' = '/document/vite',
'document_naive' = '/document/naive',
'component' = '/component',
'component_map' = '/component/map',
'component_video' = '/component/video',
'component_editor' = '/component/editor',
'component_editor_quill' = '/component/editor/quill',
'component_editor_markdown' = '/component/editor/markdown',
2021-11-16 22:16:51 +08:00
'component_swiper' = '/component/swiper',
2021-11-17 18:08:24 +08:00
'feat' = '/feat',
'feat_copy' = '/feat/copy',
'multi-menu' = '/multi-menu',
'multi-menu_first' = '/multi-menu/first',
'multi-menu_first_second' = '/multi-menu/first/second',
2021-09-14 01:31:29 +08:00
'exception' = '/exception',
'exception_403' = '/exception/403',
'exception_404' = '/exception/404',
'exception_500' = '/exception/500',
'about' = '/about'
2021-09-14 01:31:29 +08:00
}
export enum EnumRouteTitle {
'root' = 'root',
'login' = '登录',
'not-found' = '未找到',
'no-permission' = '无权限',
'service-error' = '服务器错误',
2021-09-17 19:50:24 +08:00
'reload' = '重载',
// 自定义路由
2021-09-14 01:31:29 +08:00
'dashboard' = '仪表盘',
'dashboard_analysis' = '分析页',
'dashboard_workbench' = '工作台',
2021-10-19 10:47:16 +08:00
'document' = '文档',
'document_vue' = 'vue文档',
'document_vite' = 'vite文档',
'document_naive' = 'naive文档',
'component' = '组件插件',
'component_map' = '地图插件',
'component_video' = '视频插件',
'component_editor' = '编辑器',
'component_editor_quill' = '富文本编辑器',
'component_editor_markdown' = 'markdown编辑器',
2021-11-16 22:16:51 +08:00
'component_swiper' = 'Swiper插件',
2021-11-17 18:08:24 +08:00
'feat' = '功能示例',
'feat_copy' = '剪贴板',
'multi-menu' = '多级菜单',
'multi-menu_first' = '一级菜单',
'multi-menu_first_second' = '二级菜单',
2021-09-14 01:31:29 +08:00
'exception' = '异常页',
'exception_403' = '异常页-403',
'exception_404' = '异常页-404',
'exception_500' = '异常页-500',
'about' = '关于'
2021-09-09 12:00:18 +08:00
}