Skip to content

Commit

Permalink
一个小bug
Browse files Browse the repository at this point in the history
  • Loading branch information
click33 committed May 5, 2019
1 parent 428cfc1 commit 7b1abc6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions sa-resources/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,16 @@ var sp = new Vue({
if(menu2.id + '' == id + '') {
return menu2;
}
// 如果是三级
if(menu2.childList) {
for (var k = 0; k < menu2.childList.length; k++) {
var menu3 = menu2.childList[k];
if(menu3.id + '' == id + '') {
return menu3;
}
}
}

}
}
}
Expand Down

0 comments on commit 7b1abc6

Please sign in to comment.