子系统栏显示调整
This commit is contained in:
parent
15cf33c850
commit
a8ce60f33e
@ -87,6 +87,7 @@ export default {
|
||||
return data.name.includes(value);
|
||||
},
|
||||
clickEvent(obj, data, ele, isReplace = false) {
|
||||
console.log(obj, data, ele, 'clickEvent');
|
||||
if (ele) {
|
||||
if ( ele.expanded) {
|
||||
ele.expanded = false;
|
||||
@ -177,7 +178,7 @@ export default {
|
||||
this.treeList = [];
|
||||
res.data.forEach(item => {
|
||||
const childList = [];
|
||||
item && item.children && item.children.forEach(elem => {
|
||||
item && item.children && item.children.length > 3 && item.children.forEach(elem => {
|
||||
if (elem.id === 'Lesson') {
|
||||
childList[0] = elem;
|
||||
} else if (elem.id === 'Exam') {
|
||||
@ -219,6 +220,7 @@ export default {
|
||||
},
|
||||
/* 根据localstorage缓存的trainingPlatformCheckId跳转右侧显示页面 */
|
||||
findTree(treeList, checkId, data) {
|
||||
console.log(treeList, '--------');
|
||||
treeList && treeList.length && treeList.forEach(item =>{
|
||||
if (item.type === 'Map') {
|
||||
data = item;
|
||||
|
Loading…
Reference in New Issue
Block a user