feat: 开发中...
This commit is contained in:
@@ -29,9 +29,20 @@ const router = createRouter({
|
||||
component: () => import('@/views/TagsView.vue')
|
||||
},
|
||||
{
|
||||
path: '/blog/:id/',
|
||||
path: '/blog/:id',
|
||||
name: 'blog',
|
||||
component: () => import('@/views/BlogReadView.vue')
|
||||
children: [
|
||||
{
|
||||
path: 'read',
|
||||
name: 'read',
|
||||
component: () => import('@/views/BlogReadView.vue')
|
||||
},
|
||||
{
|
||||
path: 'edit',
|
||||
name: 'edit',
|
||||
component: () => import('@/views/BlogEditView.vue')
|
||||
}
|
||||
]
|
||||
},
|
||||
]
|
||||
})
|
||||
|
Reference in New Issue
Block a user