Files
fe_supplier_frontend/config/router.config.ts

92 lines
2.0 KiB
TypeScript
Raw Normal View History

2025-06-17 14:20:06 +08:00
export default [
{
path: '/login',
component: '@/pages/login/login',
},
{
path: '/register',
routes: [
{
path: '/register/supplier',
component: '@/pages/register/supplier',
},
{
path: '/register/expert',
component: '@/pages/register/expert',
}
]
},
{
path: '/',
component: '@/layouts/Index',
routes: [
{
path: '/',
redirect: '/index',
},
{
name: 'index',
path: '/index',
component: '@/pages/index',
},
{
2025-06-17 18:32:33 +08:00
name: 'userManage',
path: '/userManage',
component: '@/pages/userManage/userManage',
2025-06-17 14:20:06 +08:00
},
{
2025-06-17 18:32:33 +08:00
name: 'downloadManage',
path: '/downloadManage',
component: '@/pages/downloadManage/downloadManage',
2025-06-17 14:20:06 +08:00
},
{
2025-06-17 18:32:33 +08:00
name: 'noticeManage',
path: '/noticeManage',
component: '@/pages/noticeManage/noticeManage',
2025-06-17 14:20:06 +08:00
},
{
2025-06-17 18:32:33 +08:00
name: 'policyManage',
path: '/policyManage',
component: '@/pages/policyManage/policyManage',
2025-06-17 14:20:06 +08:00
},
{
2025-06-17 18:32:33 +08:00
name: 'aboutManage',
path: '/aboutManage',
component: '@/pages/aboutManage/aboutManage',
2025-06-17 14:20:06 +08:00
},
{
2025-06-17 18:32:33 +08:00
name: 'helpManage',
path: '/helpManage',
component: '@/pages/helpManage/helpManage',
2025-06-17 14:20:06 +08:00
},
2025-06-17 21:06:27 +08:00
{
name: 'readQuestionManage',
path: '/readQuestionManage',
component: '@/pages/userQuestionManage/readQuestionManage',
},
{
name: 'unreadQuestionManage',
path: '/unreadQuestionManage',
component: '@/pages/userQuestionManage/unreadQuestionManage',
},
{
name: 'friendLinkCategory',
path: '/friendLinkCategory',
component: '@/pages/friendLinkManage/friendLinkCategory',
},
{
name: 'friendLinkManage',
path: '/friendLinkManage',
component: '@/pages/friendLinkManage/friendLinkManage',
},
2025-06-17 18:32:33 +08:00
2025-06-17 14:20:06 +08:00
]
},
{
exact: true,
path: '/404',
component: './404',
}
];