feat: 添加订阅管理功能,新增路由和视图组件;更新路由映射和类型定义

This commit is contained in:
2025-12-23 18:48:49 +07:00
parent 0f2f806593
commit 84d35d0689
8 changed files with 117 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ export const views: Record<LastLevelRouteKey, RouteComponent | (() => Promise<Ro
home: () => import("@/views/home/index.vue"),
rwa_product: () => import("@/views/rwa/product/index.vue"),
rwa_producttype: () => import("@/views/rwa/productType/index.vue"),
rwa_subscribe: () => import("@/views/rwa/subscribe/index.vue"),
user_bank: () => import("@/views/user/bank/index.vue"),
user_bankcard: () => import("@/views/user/bankcard/index.vue"),
user_list: () => import("@/views/user/list/index.vue"),

View File

@@ -123,6 +123,15 @@ export const generatedRoutes: GeneratedRoute[] = [
title: 'rwa_producttype',
i18nKey: 'route.rwa_producttype'
}
},
{
name: 'rwa_subscribe',
path: '/rwa/subscribe',
component: 'view.rwa_subscribe',
meta: {
title: 'rwa_subscribe',
i18nKey: 'route.rwa_subscribe'
}
}
]
},

View File

@@ -174,6 +174,7 @@ const routeMap: RouteMap = {
"rwa": "/rwa",
"rwa_product": "/rwa/product",
"rwa_producttype": "/rwa/producttype",
"rwa_subscribe": "/rwa/subscribe",
"user": "/user",
"user_bank": "/user/bank",
"user_bankcard": "/user/bankcard",