mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
add video collect
This commit is contained in:
@@ -22,6 +22,24 @@ const routes: Array<RouteRecordRaw> = [
|
||||
name: 'resetPassword',
|
||||
component: () => import('@/views/ChangePasswordView.vue'),
|
||||
},
|
||||
{
|
||||
path: '/video-collect/:id',
|
||||
name: 'video-collect',
|
||||
component: () => import('@/views/VideoCollectPublic.vue'),
|
||||
meta: {
|
||||
title: '推荐 · 视频征集',
|
||||
keepAlive: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/video-collect/list/:id',
|
||||
name: 'video-collect-list',
|
||||
component: () => import('@/views/VideoCollectListView.vue'),
|
||||
meta: {
|
||||
title: '结果 · 视频征集',
|
||||
keepAlive: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/user/:id',
|
||||
name: 'user',
|
||||
@@ -148,8 +166,26 @@ const routes: Array<RouteRecordRaw> = [
|
||||
keepAlive: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'video-collect/:id',
|
||||
name: 'manage-videoCollect-Detail',
|
||||
component: () => import('@/views/manage/VideoCollectDetailView.vue'),
|
||||
meta: {
|
||||
title: '详情 · 视频征集',
|
||||
keepAlive: true,
|
||||
parent: 'manage-videoCollect',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/:pathMatch(.*)*',
|
||||
name: 'notfound',
|
||||
component: import('@/views/NotfoundView.vue'),
|
||||
meta: {
|
||||
title: '页面不存在',
|
||||
},
|
||||
},
|
||||
]
|
||||
|
||||
const router = createRouter({
|
||||
|
||||
Reference in New Issue
Block a user