diff --git a/src/utils/router/index.ts b/src/utils/router/index.ts index 9dd046e..6883a97 100644 --- a/src/utils/router/index.ts +++ b/src/utils/router/index.ts @@ -59,6 +59,11 @@ export const staticRouting : RouteRecordRaw[] = [ path: '/app', component: () => import('@/views/app/index.vue'), meta: { hidden: true }, + }, + { + path: '/user', + component: () => import('@/views/user/index.vue'), + meta: { hidden: true }, } ] diff --git a/src/views/common/bottom/index.vue b/src/views/common/bottom/index.vue index 1095a0b..2253037 100644 --- a/src/views/common/bottom/index.vue +++ b/src/views/common/bottom/index.vue @@ -27,7 +27,7 @@ const openPage = (val:number) => { router.push({ path: "/news",query:{id: "16213848089876281",fa:4}}); break; case 5: - router.push({ path: "/my",query:{fa:5}}); + router.push({ path: "/user",query:{fa:5}}); break; default: router.push({ path: "/"}); diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 49e5bb3..eaf0ef7 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -305,7 +305,7 @@ const openNews = (val:any,name:string) => {