导航
This commit is contained in:
@@ -204,9 +204,11 @@ export default {
|
||||
},
|
||||
childmenus () {
|
||||
let res = []
|
||||
if (this.menus.length) {
|
||||
res = this.menus[Number(this.$route.meta.jumpPath) - 1].children
|
||||
}
|
||||
this.menus.map(el => {
|
||||
if (el.index === this.$route.meta.jumpPath) {
|
||||
res = el.children
|
||||
}
|
||||
})
|
||||
return res
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user