feat:添加个人中心

This commit is contained in:
橙子
2023-03-19 00:42:18 +08:00
parent c613b185da
commit 10fef4e2d9
62 changed files with 1430 additions and 129 deletions

View File

@@ -9,7 +9,13 @@ const router = createRouter({
return { top: 0 }
},
routes: [
{
{
name:'test',
path: '/test',
component: () => import('../views/Test.vue')
},
{
path: '/loginLayout',
name: 'loginLayout',
component: LoginLayout,
@@ -27,7 +33,6 @@ const router = createRouter({
// },
]
},
{
path: '/',
name: 'layout',
@@ -55,6 +60,12 @@ const router = createRouter({
name:'editArt',
path:'/editArt',
component:()=>import('../views/EditArticle.vue')
},
{
name:'profile',
path:'/profile',
component:()=>import('../views/profile/Index.vue')
}
]
},