feat(benefits): 增加权益中心
This commit is contained in:
@@ -19,6 +19,13 @@ export const accountRoutes: RouteRecordRaw[] = [
|
||||
component: () => import('@/features/auth/views/ProfileView.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
},
|
||||
{
|
||||
path: '/benefits',
|
||||
name: 'benefits',
|
||||
component: () => import('@/features/benefits/views/BenefitsCenterView.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
props: { mobile: false },
|
||||
},
|
||||
{
|
||||
path: '/points-mall',
|
||||
name: 'points-mall',
|
||||
|
||||
@@ -89,6 +89,13 @@ export const mobileRoutes: RouteRecordRaw[] = [
|
||||
component: () => import('@/features/invitation/views/UserInvitationView.vue'),
|
||||
meta: { layout: 'blank', requiresAuth: true },
|
||||
},
|
||||
{
|
||||
path: '/m/benefits',
|
||||
name: 'mobile-benefits',
|
||||
component: () => import('@/features/benefits/views/BenefitsCenterView.vue'),
|
||||
meta: { layout: 'blank', requiresAuth: true },
|
||||
props: { mobile: true },
|
||||
},
|
||||
{
|
||||
path: '/m/profile',
|
||||
name: 'mobile-profile',
|
||||
|
||||
Reference in New Issue
Block a user