|
|
@@ -53,25 +53,25 @@ export default new Router({
|
|
|
name: '视频管理'
|
|
|
}, ]
|
|
|
},
|
|
|
- {
|
|
|
- path: '/content',
|
|
|
- name: '内容管理',
|
|
|
- icon: 'el-icon-menu',
|
|
|
- component: () => import('./views/Home.vue'),
|
|
|
- show: 1,
|
|
|
- isLeaf: 0,
|
|
|
- children: [{
|
|
|
- path: '/content',
|
|
|
- component: () => import('./views/content/Index.vue'),
|
|
|
- name: '栏目管理'
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/article',
|
|
|
- component: () => import('./views/content/Article.vue'),
|
|
|
- name: '文章管理'
|
|
|
- },
|
|
|
- ]
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // path: '/content',
|
|
|
+ // name: '内容管理',
|
|
|
+ // icon: 'el-icon-menu',
|
|
|
+ // component: () => import('./views/Home.vue'),
|
|
|
+ // show: 1,
|
|
|
+ // isLeaf: 0,
|
|
|
+ // children: [{
|
|
|
+ // path: '/content',
|
|
|
+ // component: () => import('./views/content/Index.vue'),
|
|
|
+ // name: '栏目管理'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: '/article',
|
|
|
+ // component: () => import('./views/content/Article.vue'),
|
|
|
+ // name: '文章管理'
|
|
|
+ // },
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
{
|
|
|
path: '/',
|
|
|
name: '报名信息',
|
|
|
@@ -103,9 +103,9 @@ export default new Router({
|
|
|
show:1,
|
|
|
isLeaf:0,
|
|
|
children:[
|
|
|
- { path: '/paper', component: () => import('./views/paper/Index.vue'), name: '试卷管理' },
|
|
|
- { path: '/video', component: () => import('./views/video/Index.vue'), name: '视频管理' },
|
|
|
- { path: '/video/add', component: () => import('./views/video/Add.vue'), name: '新增视频' },
|
|
|
+ { path: '/papers', component: () => import('./views/paper/Index.vue'), name: '试卷管理' },
|
|
|
+ { path: '/videos', component: () => import('./views/videos/Index.vue'), name: '视频管理' },
|
|
|
+ { path: '/videos/add', component: () => import('./views/videos/Add.vue'), name: '新增视频' },
|
|
|
]
|
|
|
},
|
|
|
{
|