二期:路由修改
This commit is contained in:
parent
e032d8514e
commit
0a641fee06
|
@ -60,11 +60,11 @@ const menus = ref([
|
||||||
name: '备课',
|
name: '备课',
|
||||||
path: '/prepare'
|
path: '/prepare'
|
||||||
},
|
},
|
||||||
{
|
/*{
|
||||||
icon: 'icon-jiangke1 icon-teach',
|
icon: 'icon-jiangke1 icon-teach',
|
||||||
name: '授课',
|
name: '授课',
|
||||||
path: '/teach'
|
path: '/teach'
|
||||||
}
|
}*/
|
||||||
])
|
])
|
||||||
|
|
||||||
// 监听当前路由
|
// 监听当前路由
|
||||||
|
|
|
@ -18,7 +18,7 @@ export const constantRoutes = [
|
||||||
path: '/resource',
|
path: '/resource',
|
||||||
component: () => import('@/views/resource/index.vue'),
|
component: () => import('@/views/resource/index.vue'),
|
||||||
name: 'resource',
|
name: 'resource',
|
||||||
meta: {title: '资源',keepAlive:true}
|
meta: {title: '资源'}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/prepare',
|
path: '/prepare',
|
||||||
|
|
Loading…
Reference in New Issue