feat: 新增通知管理功能,包括通知的创建、列表展示及相关路由配置;更新相关依赖
This commit is contained in:
@@ -24,6 +24,7 @@ export const views: Record<LastLevelRouteKey, RouteComponent | (() => Promise<Ro
|
||||
bank: () => import("@/views/bank/index.vue"),
|
||||
deposit_fiat: () => import("@/views/deposit/fiat/index.vue"),
|
||||
home: () => import("@/views/home/index.vue"),
|
||||
notification: () => import("@/views/notification/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"),
|
||||
@@ -32,7 +33,6 @@ export const views: Record<LastLevelRouteKey, RouteComponent | (() => Promise<Ro
|
||||
transfer: () => import("@/views/transfer/index.vue"),
|
||||
user_bankcard: () => import("@/views/user/bankcard/index.vue"),
|
||||
user_list: () => import("@/views/user/list/index.vue"),
|
||||
user_transfer: () => import("@/views/user/transfer/index.vue"),
|
||||
withdraw_approved: () => import("@/views/withdraw/approved/index.vue"),
|
||||
withdraw_fiat: () => import("@/views/withdraw/fiat/index.vue"),
|
||||
};
|
||||
|
||||
@@ -116,6 +116,16 @@ export const generatedRoutes: GeneratedRoute[] = [
|
||||
hideInMenu: true
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'notification',
|
||||
path: '/notification',
|
||||
component: 'layout.base$view.notification',
|
||||
meta: {
|
||||
title: 'notification',
|
||||
i18nKey: 'route.notification',
|
||||
order: 7
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'rwa',
|
||||
path: '/rwa',
|
||||
@@ -222,15 +232,6 @@ export const generatedRoutes: GeneratedRoute[] = [
|
||||
title: 'user_list',
|
||||
i18nKey: 'route.user_list'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'user_transfer',
|
||||
path: '/user/transfer',
|
||||
component: 'view.user_transfer',
|
||||
meta: {
|
||||
title: 'user_transfer',
|
||||
i18nKey: 'route.user_transfer'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -173,6 +173,7 @@ const routeMap: RouteMap = {
|
||||
"home": "/home",
|
||||
"iframe-page": "/iframe-page/:url",
|
||||
"login": "/login/:module(pwd-login|code-login|register|reset-pwd|bind-wechat)?",
|
||||
"notification": "/notification",
|
||||
"rwa": "/rwa",
|
||||
"rwa_product": "/rwa/product",
|
||||
"rwa_producttype": "/rwa/producttype",
|
||||
@@ -184,7 +185,6 @@ const routeMap: RouteMap = {
|
||||
"user": "/user",
|
||||
"user_bankcard": "/user/bankcard",
|
||||
"user_list": "/user/list",
|
||||
"user_transfer": "/user/transfer",
|
||||
"withdraw": "/withdraw",
|
||||
"withdraw_approved": "/withdraw/approved",
|
||||
"withdraw_fiat": "/withdraw/fiat"
|
||||
|
||||
Reference in New Issue
Block a user