feat: 更新环境配置,调整 API URL 和库地址;添加 PWA 安装支持;更新路由和组件定义
This commit is contained in:
@@ -142,39 +142,23 @@ const routes: Array<RouteRecordRaw> = [
|
||||
},
|
||||
{
|
||||
path: "/trade-settings/my-subscribe",
|
||||
component: () => import("@/views/trade-settings/my-subscribe/outlet.vue"),
|
||||
component: () => import("@/views/trade-settings/my-subscribe/index.vue"),
|
||||
meta: { requiresAuth: true },
|
||||
},
|
||||
{
|
||||
path: "/trade-settings/my-subscribe/:id",
|
||||
component: () => import("@/views/trade-settings/my-subscribe/detail.vue"),
|
||||
meta: { requiresAuth: true },
|
||||
children: [
|
||||
{
|
||||
path: "",
|
||||
component: () => import("@/views/trade-settings/my-subscribe/index.vue"),
|
||||
meta: { requiresAuth: true },
|
||||
},
|
||||
{
|
||||
path: ":id",
|
||||
props: true,
|
||||
component: () => import("@/views/trade-settings/my-subscribe/detail.vue"),
|
||||
meta: { requiresAuth: true },
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/trade-settings/my-issues",
|
||||
component: () => import("@/views/trade-settings/my-issues/outlet.vue"),
|
||||
component: () => import("@/views/trade-settings/my-issues/index.vue"),
|
||||
meta: { requiresAuth: true },
|
||||
},
|
||||
{
|
||||
path: "/trade-settings/my-issues/:id",
|
||||
component: () => import("@/views/trade-settings/my-issues/detail.vue"),
|
||||
meta: { requiresAuth: true },
|
||||
children: [
|
||||
{
|
||||
path: "",
|
||||
component: () => import("@/views/trade-settings/my-issues/index.vue"),
|
||||
meta: { requiresAuth: true },
|
||||
},
|
||||
{
|
||||
path: ":id",
|
||||
props: true,
|
||||
component: () => import("@/views/trade-settings/my-issues/detail.vue"),
|
||||
meta: { requiresAuth: true },
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/trade-settings/bank-management/add",
|
||||
|
||||
Reference in New Issue
Block a user