feat: 更新交易 RWA 路由,添加编辑功能和相关视图

This commit is contained in:
2025-12-21 20:04:29 +07:00
parent c2d97df400
commit 2e4d7143e5
4 changed files with 72 additions and 5 deletions

View File

@@ -124,8 +124,21 @@ const routes: Array<RouteRecordRaw> = [
{
path: "/trade-rwa/:id",
props: true,
component: () => import("@/views/trade-rwa/index.vue"),
component: () => import("@/views/trade-rwa/outlet.vue"),
meta: { requiresAuth: true },
children: [
{
path: "",
component: () => import("@/views/trade-rwa/index.vue"),
meta: { requiresAuth: true },
},
{
path: "edit",
name: "trade-rwa-edit",
component: () => import("@/views/trade-rwa/edit.vue"),
meta: { requiresAuth: true },
},
],
},
];