导航
This commit is contained in:
@@ -72,8 +72,7 @@ export default {
|
|||||||
position fixed
|
position fixed
|
||||||
top 50%
|
top 50%
|
||||||
left 50%
|
left 50%
|
||||||
width 45%
|
width 40%
|
||||||
max-width 420px
|
|
||||||
transition .3s
|
transition .3s
|
||||||
transform translate3d(-50%, -50%, 0)
|
transform translate3d(-50%, -50%, 0)
|
||||||
overflow hidden
|
overflow hidden
|
||||||
|
|||||||
@@ -204,9 +204,11 @@ export default {
|
|||||||
},
|
},
|
||||||
childmenus () {
|
childmenus () {
|
||||||
let res = []
|
let res = []
|
||||||
if (this.menus.length) {
|
this.menus.map(el => {
|
||||||
res = this.menus[Number(this.$route.meta.jumpPath) - 1].children
|
if (el.index === this.$route.meta.jumpPath) {
|
||||||
}
|
res = el.children
|
||||||
|
}
|
||||||
|
})
|
||||||
return res
|
return res
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user