|
|
@@ -115,7 +115,7 @@ const routes = [
|
|
|
},
|
|
|
{
|
|
|
path: '/u/:userId/post',
|
|
|
- name: 'UserCenter',
|
|
|
+ name: 'UserPost',
|
|
|
component: () => import('@/views/user/user-post.vue'),
|
|
|
meta: {
|
|
|
title: '用户投稿'
|
|
|
@@ -123,25 +123,25 @@ const routes = [
|
|
|
children: [
|
|
|
{
|
|
|
path: '/u/:userId/video',
|
|
|
- name: 'UserPost',
|
|
|
+ name: 'UserVideoPost',
|
|
|
component: () => import('@/views/user/user-video.vue'),
|
|
|
meta: { title: '视频投稿' }
|
|
|
},
|
|
|
{
|
|
|
path: '/u/:userId/audio',
|
|
|
- name: 'UserPost',
|
|
|
+ name: 'UserAudioPost',
|
|
|
component: () => import('@/views/user/user-audio.vue'),
|
|
|
meta: { title: '音频投稿' }
|
|
|
},
|
|
|
{
|
|
|
path: '/u/:userId/article',
|
|
|
- name: 'UserPost',
|
|
|
+ name: 'UserArticlePost',
|
|
|
component: () => import('@/views/user/user-article.vue'),
|
|
|
meta: { title: '专栏投稿' }
|
|
|
},
|
|
|
{
|
|
|
path: '/u/:userId/album',
|
|
|
- name: 'UserPost',
|
|
|
+ name: 'UserAlbumPost',
|
|
|
component: () => import('@/views/user/user-album.vue'),
|
|
|
meta: { title: '用户相薄' }
|
|
|
}
|
|
|
@@ -353,7 +353,7 @@ const routes = [
|
|
|
children: [
|
|
|
{
|
|
|
path: '/article/:id',
|
|
|
- name: 'ArticlePage',
|
|
|
+ name: 'ImagePage',
|
|
|
component: () => import('@/views/message/home.vue'),
|
|
|
meta: { title: '文章主页' }
|
|
|
}
|