feat: 新增交易对管理功能,包括添加交易对的组件和视图;更新相关路由和类型定义

This commit is contained in:
2025-12-24 20:42:39 +07:00
parent 75867d6845
commit f2f311fdab
9 changed files with 409 additions and 9 deletions

View File

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

View File

@@ -215,14 +215,24 @@ export const generatedRoutes: GeneratedRoute[] = [
}
]
},
{
{
name: 'transfer',
path: '/transfer',
component: 'layout.base$view.transfer',
meta: {
title: 'transfer',
i18nKey: 'route.transfer',
order: 4
order: 5
}
},
{
name: 'tradingpairs',
path: '/tradingpairs',
component: 'layout.base$view.tradingpairs',
meta: {
title: 'tradingpairs',
i18nKey: 'route.tradingpairs',
order: 6
}
},
];

View File

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