This commit is contained in:
root
2026-10-16 13:51:00 +08:00
parent 6bf949949c
commit 8fc899d0a9
3830 changed files with 11228 additions and 188377 deletions
+18
View File
@@ -40,12 +40,24 @@ const routes = [
component: () => import('@/views/VideoPending.vue'),
meta: { title: '视频审核', icon: 'VideoPlay', roles: ['reviewer'] },
},
{
path: 'videos/create',
name: 'video-create',
component: () => import('@/views/CreateVideo.vue'),
meta: { title: '发布视频', icon: 'Upload', roles: [] },
},
{
path: 'videos',
name: 'video-list',
component: () => import('@/views/VideoList.vue'),
meta: { title: '视频管理', icon: 'Film', roles: [] },
},
{
path: 'series',
name: 'series-manage',
component: () => import('@/views/SeriesManage.vue'),
meta: { title: '系列管理', icon: 'CollectionTag', roles: [] },
},
{
path: 'comments',
name: 'comment-list',
@@ -124,6 +136,12 @@ const routes = [
component: () => import('@/views/LogList.vue'),
meta: { title: '操作日志', icon: 'Document', roles: [] },
},
{
path: 'account/password',
name: 'change-password',
component: () => import('@/views/ChangePassword.vue'),
meta: { title: '修改密码', icon: 'Lock', roles: ['operator'], hidden: true },
},
],
},
{ path: '/:pathMatch(.*)*', redirect: '/dashboard' },