site: fix menu value & code overflow

This commit is contained in:
07akioni 2021-04-05 20:06:50 +08:00
parent f87217ff28
commit d7ee585e10
3 changed files with 4 additions and 1 deletions

View File

@ -229,6 +229,7 @@ export default {
]
})
const mobileMenuValueRef = computed(() => {
if (route.name === 'home') return 'home'
return findMenuValue(mobileMenuOptionsRef.value, route.path)
})
function handleMobileUpdateMenu (value, { path }) {

View File

@ -47,4 +47,5 @@ body {
.md-card {
margin-bottom: 16px;
overflow: auto;
}

View File

@ -460,9 +460,10 @@
- [x] vdirs zindexable https://github.com/vuejs/vue-next/issues/3497
- [x] collapse-item overflow
- [ ] anchor ignore gap 有 bug
- [ ] popover click 移动端不生效
- [x] popover click 移动端不生效
- [ ] menu path 对应的问题
- [ ] debug anchor 删除无用 link
- [ ] popover inst methods
## Build