feat: 添加钱包管理功能,整合钱包类型编辑页面及相关路由,支持钱包类型的增删改查

This commit is contained in:
2026-01-20 00:01:05 +07:00
parent 657853c8b7
commit 8d22e0699e
9 changed files with 485 additions and 6 deletions

View File

@@ -24,5 +24,6 @@ export const views: Record<LastLevelRouteKey, RouteComponent | (() => Promise<Ro
news: () => import("@/views/news/index.vue"),
product: () => import("@/views/product/index.vue"),
user: () => import("@/views/user/index.vue"),
wallet: () => import("@/views/wallet/index.vue"),
withdraw: () => import("@/views/withdraw/index.vue"),
};

View File

@@ -100,6 +100,15 @@ export const generatedRoutes: GeneratedRoute[] = [
i18nKey: 'route.user'
}
},
{
name: 'wallet',
path: '/wallet',
component: 'layout.base$view.wallet',
meta: {
title: 'wallet',
i18nKey: 'route.wallet'
}
},
{
name: 'withdraw',
path: '/withdraw',

View File

@@ -172,6 +172,7 @@ const routeMap: RouteMap = {
"news": "/news",
"product": "/product",
"user": "/user",
"wallet": "/wallet",
"withdraw": "/withdraw"
};