项目创建
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
/**
|
||||
* 路由别名,方便快速找到页面,同时可以用作路由跳转
|
||||
*/
|
||||
export enum RoutesAlias {
|
||||
Home = '/index/index', // 布局容器
|
||||
Login = '/auth/login', // 登录
|
||||
Register = '/auth/register', // 注册
|
||||
ForgetPassword = '/auth/forget-password', // 忘记密码
|
||||
Exception403 = '/exception/403', // 403
|
||||
Exception404 = '/exception/404', // 404
|
||||
Exception500 = '/exception/500', // 500
|
||||
Success = '/result/success', // 成功
|
||||
Fail = '/result/fail', // 失败
|
||||
Dashboard = '/dashboard/console', // 工作台
|
||||
Analysis = '/dashboard/analysis', // 分析页
|
||||
Ecommerce = '/dashboard/ecommerce', // 电子商务
|
||||
IconList = '/widgets/icon-list', // 图标列表
|
||||
IconSelector = '/widgets/icon-selector', // 图标选择器
|
||||
ImageCrop = '/widgets/image-crop', // 图片裁剪
|
||||
Excel = '/widgets/excel', // Excel
|
||||
Video = '/widgets/video', // 视频
|
||||
CountTo = '/widgets/count-to', // 计数
|
||||
WangEditor = '/widgets/wang-editor', // 富文本编辑器
|
||||
Watermark = '/widgets/watermark', // 水印
|
||||
ContextMenu = '/widgets/context-menu', // 上下文菜单
|
||||
Qrcode = '/widgets/qrcode', // 二维码
|
||||
Drag = '/widgets/drag', // 拖拽
|
||||
TextScroll = '/widgets/text-scroll', // 文字滚动
|
||||
Fireworks = '/widgets/fireworks', // 礼花效果
|
||||
Chat = '/template/chat', // 聊天
|
||||
Cards = '/template/cards', // 卡片
|
||||
Banners = '/template/banners', // 横幅
|
||||
Charts = '/template/charts', // 图表
|
||||
Map = '/template/map', // 地图
|
||||
Calendar = '/template/calendar', // 日历
|
||||
Pricing = '/template/pricing', // 定价
|
||||
ArticleList = '/article/list', // 文章列表
|
||||
ArticleDetail = '/article/detail', // 文章详情
|
||||
Comment = '/article/comment', // 评论
|
||||
ArticlePublish = '/article/publish', // 文章发布
|
||||
User = '/system/user', // 账户
|
||||
Role = '/system/role', // 角色
|
||||
Usedcar = '/car/usedcar', // 角色
|
||||
Newcar = '/car/newcar', // 角色
|
||||
UserCenter = '/system/user-center', // 用户中心
|
||||
Menu = '/system/menu', // 菜单
|
||||
NestedMenu1 = '/system/nested/menu1', // 嵌套菜单1
|
||||
NestedMenu21 = '/system/nested/menu2', // 嵌套菜单2-1
|
||||
NestedMenu31 = '/system/nested/menu3', // 嵌套菜单3-1
|
||||
NestedMenu321 = '/system/nested/menu3/menu3-2', // 嵌套菜单3-2-1
|
||||
Server = '/safeguard/server', // 服务器
|
||||
ChangeLog = '/change/log', // 更新日志
|
||||
Order = '/work/order', // 工单
|
||||
OrderType = '/work/type' // 工单
|
||||
}
|
||||
|
||||
// 主页路由
|
||||
export const HOME_PAGE = RoutesAlias.Dashboard
|
||||
Reference in New Issue
Block a user