up
This commit is contained in:
@@ -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' },
|
||||
|
||||
Reference in New Issue
Block a user