summaryrefslogtreecommitdiff
path: root/src/router/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/router/index.ts')
-rw-r--r--src/router/index.ts52
1 files changed, 33 insertions, 19 deletions
diff --git a/src/router/index.ts b/src/router/index.ts
index 08e6247..6b1ce39 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -62,40 +62,54 @@ export const constantRoutes: RouteRecordRaw[] = [
]
},
{
- path: "/data",
- component: Layouts,
- redirect: "/data",
- children: [
- {
- path: "data",
- component: () => import("@/views/data/index.vue"),
- name: "Data",
- meta: {
- title: "数据检索",
- elIcon: "Grid",
- affix: true
- }
- }
- ]
- },
- {
path: "/stats",
component: Layouts,
- redirect: "/stats",
+ redirect: "/stats/stats",
+ meta: {
+ title: "分析统计",
+ svgIcon: "link"
+ },
children: [
{
path: "stats",
component: () => import("@/views/stats/index.vue"),
name: "Stats",
meta: {
- title: "分析统计",
+ title: "分布统计",
elIcon: "DataAnalysis",
affix: true
}
+ },
+ {
+ path: "fx",
+ component: () => import("@/views/fx/index.vue"),
+ name: "FX",
+ meta: {
+ title: "风险评估",
+ elIcon: "BellFilled",
+ affix: true
+ }
}
]
}
// {
+ // path: "/data",
+ // component: Layouts,
+ // redirect: "/data",
+ // children: [
+ // {
+ // path: "data",
+ // component: () => import("@/views/data/index.vue"),
+ // name: "Data",
+ // meta: {
+ // title: "数据检索",
+ // elIcon: "Grid",
+ // affix: true
+ // }
+ // }
+ // ]
+ // }
+ // {
// path: "/unocss",
// component: Layouts,
// redirect: "/unocss/index",