|
|
@@ -577,7 +577,9 @@ export default {
|
|
|
this.globalClassItemList[this.classIndex].isActive = true;
|
|
|
this.globalClassItemList[this.classIndex+1].isActive = true;
|
|
|
if(this.globalClassItemList[this.classIndex+1].child.length<5){
|
|
|
- this.globalClassItemList[this.classIndex+2].isActive = true;
|
|
|
+ if(this.globalClassItemList[this.classIndex+2]){
|
|
|
+ this.globalClassItemList[this.classIndex+2].isActive = true;
|
|
|
+ }
|
|
|
}
|
|
|
break;
|
|
|
}else if(node2 && top_page === node2){
|
|
|
@@ -585,7 +587,9 @@ export default {
|
|
|
this.globalClassItemList[this.classIndex].isActive = true;
|
|
|
this.globalClassItemList[this.classIndex+1].isActive = true;
|
|
|
if(this.globalClassItemList[this.classIndex+1].child.length<5){
|
|
|
- this.globalClassItemList[this.classIndex+2].isActive = true;
|
|
|
+ if(this.globalClassItemList[this.classIndex+2]){
|
|
|
+ this.globalClassItemList[this.classIndex+2].isActive = true;
|
|
|
+ }
|
|
|
}
|
|
|
break;
|
|
|
}
|