修复收缩菜单收起后鼠标放到三级菜单上二级消失的bug
This commit is contained in:
parent
8710e73342
commit
912fa28659
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<Dropdown @on-click="handleClick" transfer :placement="placement">
|
||||
<Dropdown @on-click="handleClick" :transfer="hideTitle" :placement="placement">
|
||||
<a class="drop-menu-a" type="text" @mouseover="handleMousemove($event, children)" :style="{textAlign: !hideTitle ? 'left' : ''}"><common-icon :size="rootIconSize" :color="textColor" :type="parentItem.icon"/><span class="menu-title" v-if="!hideTitle">{{ showTitle(parentItem) }}</span><Icon style="float: right;" v-if="!hideTitle" type="ios-arrow-forward" :size="16"/></a>
|
||||
<DropdownMenu slot="list">
|
||||
<template v-for="child in children">
|
||||
|
|
|
|||
|
|
@ -38,3 +38,6 @@
|
|||
.menu-title{
|
||||
padding-left: 6px;
|
||||
}
|
||||
.ivu-select-dropdown{
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -136,6 +136,7 @@ export default {
|
|||
},
|
||||
watch: {
|
||||
'$route' (newRoute) {
|
||||
console.log(newRoute)
|
||||
this.setBreadCrumb(newRoute.matched)
|
||||
this.setTagNavList(getNewTagList(this.tagNavList, newRoute))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ export default {
|
|||
route: route,
|
||||
type: 'push'
|
||||
})
|
||||
console.log(route)
|
||||
this.$router.push(route)
|
||||
},
|
||||
createTagQuery () {
|
||||
|
|
|
|||
Loading…
Reference in New Issue