提交 62b32841 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 f1833097
......@@ -96,7 +96,7 @@ export default {
tag: 'menu_course',
title: '课程中心',
icon: 'icon-bianzu6-hong',
children: [{ tag: 'menu_course_learn', title: '课程', path: '/course/learn' }]
children: [{ tag: 'menu_course_learn', title: '课程中心', path: '/course/learn' }]
},
{
tag: 'menu_exam',
......
......@@ -51,12 +51,12 @@ export default {
return this.$store.state.user.role
},
currentList() {
if (this.role === 2) {
return this.data.map(item => {
item.children = item.children.filter(item => item.type === 2)
return item
})
}
// if (this.role === 2) {
// return this.data.map(item => {
// item.children = item.children.filter(item => item.type === 2)
// return item
// })
// }
return this.data
}
},
......
<template>
<app-container :title="title">
<app-container>
<template #header-right>
<div class="search">
<el-input prefix-icon="el-icon-search" clearable v-model="searchValue" @keyup.enter.native="handleSearch" />
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论