|
@@ -330,19 +330,27 @@ export const dynamicRoutes = [{
|
|
|
}]
|
|
|
},
|
|
|
// 频道管理
|
|
|
- // 官方推荐
|
|
|
+ // 定制频道
|
|
|
{
|
|
|
path: '/channel',
|
|
|
component: Layout,
|
|
|
hidden: true,
|
|
|
- permissions: ['channel:official:list'],
|
|
|
+ permissions: ['channel:custom:list'],
|
|
|
children: [{
|
|
|
- path: 'official/detail',
|
|
|
- component: () => import('@/views/channel/official/detail'),
|
|
|
- name: 'channelOfficialDetail',
|
|
|
+ path: 'custom/detail',
|
|
|
+ component: () => import('@/views/channel/custom/detail'),
|
|
|
+ name: 'channelCustomDetail',
|
|
|
meta: {
|
|
|
- title: `详情页`,
|
|
|
- activeMenu: '/channel/official'
|
|
|
+ title: `定制详情`,
|
|
|
+ activeMenu: '/channel/custom'
|
|
|
+ }
|
|
|
+ },{
|
|
|
+ path: 'custom/edit',
|
|
|
+ component: () => import('@/views/channel/custom/edit'),
|
|
|
+ name: 'channelCustomEdit',
|
|
|
+ meta: {
|
|
|
+ title: `频道详情`,
|
|
|
+ activeMenu: '/channel/custom'
|
|
|
}
|
|
|
}]
|
|
|
},
|
|
@@ -379,6 +387,23 @@ export const dynamicRoutes = [{
|
|
|
activeMenu: '/watch/watchList'
|
|
|
}
|
|
|
}]
|
|
|
+ },
|
|
|
+ // 标签管理
|
|
|
+ // 标签分类
|
|
|
+ {
|
|
|
+ path: '/label',
|
|
|
+ component: Layout,
|
|
|
+ hidden: true,
|
|
|
+ permissions: ['label:tag:list'],
|
|
|
+ children: [{
|
|
|
+ path: 'tag/detail',
|
|
|
+ component: () => import('@/views/label/tag/detail'),
|
|
|
+ name: 'labelTagDetail',
|
|
|
+ meta: {
|
|
|
+ title: '标签详情',
|
|
|
+ activeMenu: '/label/tag'
|
|
|
+ }
|
|
|
+ }]
|
|
|
}
|
|
|
]
|
|
|
|