diff --git a/src/Layout/tabbar/index.vue b/src/Layout/tabbar/index.vue index d9bac90..a117025 100644 --- a/src/Layout/tabbar/index.vue +++ b/src/Layout/tabbar/index.vue @@ -30,7 +30,7 @@
- + {{ useUserStore.userInfo.username }} diff --git a/src/router/module/constRouter/index.ts b/src/router/module/constRouter/index.ts index 4ba23e9..88584bb 100644 --- a/src/router/module/constRouter/index.ts +++ b/src/router/module/constRouter/index.ts @@ -1,5 +1,4 @@ -export const constRouter: any = -{ +export const constRouter: any = { path: '/', component: () => import('@/Layout/index.vue'), name: 'Layout', @@ -108,8 +107,8 @@ export const constRouter: any = icon: '', title: '新闻内容详情', hidden: false, - } - } + }, + }, ], }, { @@ -122,6 +121,15 @@ export const constRouter: any = hidden: true, }, }, + { + path: '/raec-info', + name: 'RaecInfo', + component: () => import('@/views/raceInfo/index.vue'), + meta: { + icon: '', + title: '比赛详情', + hidden: true, + }, + }, ], } - diff --git a/src/views/home/index.vue b/src/views/home/index.vue index b7e835f..7778764 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -1,9 +1,9 @@