业务更名为撞车并切换crash路由
用户可见文案与页面/API路径改为撞车与crash,保留mohong表与权限码兼容;移动端入口去掉租/撞图标。
This commit is contained in:
@@ -92,29 +92,34 @@ export const mobileRoutes: RouteRecordRaw[] = [
|
||||
meta: { layout: 'blank', requiresAuth: true },
|
||||
},
|
||||
{
|
||||
path: '/m/mohong',
|
||||
name: 'mobile-mohong-list',
|
||||
path: '/m/crash',
|
||||
name: 'mobile-crash-list',
|
||||
component: () => import('@/features/mohong/views/MobileMohongListView.vue'),
|
||||
meta: { layout: 'blank' },
|
||||
},
|
||||
{
|
||||
path: '/m/mohong/orders',
|
||||
name: 'mobile-mohong-orders',
|
||||
path: '/m/crash/orders',
|
||||
name: 'mobile-crash-orders',
|
||||
component: () => import('@/features/mohong/views/MobileMohongOrdersView.vue'),
|
||||
meta: { layout: 'blank', requiresAuth: true },
|
||||
},
|
||||
{
|
||||
path: '/m/mohong/orders/:id',
|
||||
name: 'mobile-mohong-order-detail',
|
||||
path: '/m/crash/orders/:id',
|
||||
name: 'mobile-crash-order-detail',
|
||||
component: () => import('@/features/mohong/views/MobileMohongOrderDetailView.vue'),
|
||||
meta: { layout: 'blank', requiresAuth: true },
|
||||
},
|
||||
{
|
||||
path: '/m/mohong/:id',
|
||||
name: 'mobile-mohong-detail',
|
||||
path: '/m/crash/:id',
|
||||
name: 'mobile-crash-detail',
|
||||
component: () => import('@/features/mohong/views/MobileMohongDetailView.vue'),
|
||||
meta: { layout: 'blank' },
|
||||
},
|
||||
// 旧路径兼容
|
||||
{ path: '/m/mohong', redirect: '/m/crash' },
|
||||
{ path: '/m/mohong/orders', redirect: '/m/crash/orders' },
|
||||
{ path: '/m/mohong/orders/:id', redirect: to => `/m/crash/orders/${to.params.id}` },
|
||||
{ path: '/m/mohong/:id', redirect: to => `/m/crash/${to.params.id}` },
|
||||
{
|
||||
path: '/m/orders',
|
||||
name: 'mobile-orders',
|
||||
|
||||
Reference in New Issue
Block a user