This commit is contained in:
2023-07-03 19:29:18 +08:00
parent c4670df8d5
commit 238bb7d5bc
2 changed files with 6 additions and 5 deletions

View File

@@ -72,8 +72,7 @@ export default {
position fixed
top 50%
left 50%
width 45%
max-width 420px
width 40%
transition .3s
transform translate3d(-50%, -50%, 0)
overflow hidden

View File

@@ -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
}
},