提交调整优化

This commit is contained in:
daihh
2023-01-12 12:36:59 +08:00
parent 50079559e2
commit 90068fb851
7 changed files with 154 additions and 211 deletions

View File

@@ -51,7 +51,7 @@ export const constantRoutes = [{
hidden: true,
component: (resolve) => require(['@/views/portal/course/Index'], resolve),
name: 'course',
meta: { title: '课程', icon: 'dashboard', noCache: true, affix: false },
meta: { title: '课程',keepAlive:true, icon: 'dashboard', noCache: true, affix: false },
},
{
path: '/course/micro',
@@ -65,7 +65,7 @@ export const constantRoutes = [{
hidden: true,
component: (resolve) => require(['@/views/portal/course/Detail'], resolve),
name: 'courseDetail',
meta: { title: '课程详情', icon: 'dashboard', noCache: true, affix: false },
meta: { title: '课程详情',keepAlive:true, icon: 'dashboard', noCache: true, affix: false },
},
// 课程预览
{
@@ -105,21 +105,21 @@ export const constantRoutes = [{
hidden: true,
component: (resolve) => require(['@/views/study/coursenew'], resolve),
name: 'courseStudyIndex',
meta: { title: '课程学习', icon: 'dashboard', noCache: true, affix: false },
meta: { title: '课程学习',keepAlive:true, icon: 'dashboard', noCache: true, affix: false },
},
{
path: '/case',
hidden: true,
component: (resolve) => require(['@/views/portal/case/Index'], resolve),
name: 'case',
meta: { title: '案例', icon: 'dashboard', noCache: true, affix: false },
meta: { title: '案例',keepAlive:true, icon: 'dashboard', noCache: false, affix: true },
},
{
path: '/case/detail',
hidden: true,
component: (resolve) => require(['@/views/portal/case/Detail'], resolve),
name: 'caseDetail',
meta: { title: '案例详情', icon: 'dashboard', noCache: true, affix: false },
meta: { title: '案例详情',keepAlive:true, icon: 'dashboard', noCache: false, affix: true },
},
{
path: '/article',