Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: 调整菜单面板触发事件的位置(#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinmao88 committed Oct 30, 2023
1 parent 66c8e97 commit 9ee6b9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/layouts/src/components/mixSideBar/Menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ const handleFixedMenu = () => {
:class="['shadow', bem('menu-list')]"
:style="getMenuStyle"
ref="sideRef"
@mouseleave="closeMenu"
>
<div
v-show="openMenu"
Expand All @@ -247,7 +248,7 @@ const handleFixedMenu = () => {
<VbenH5 v-if="openMenu" :class="bem('menu-list__children-title')">{{
childrenTitle
}}</VbenH5>
<MixMenu :list="childrenMenus" @mouseleave="closeMenu" />
<MixMenu :list="childrenMenus" />
</div>
</div>
</template>
Expand Down

0 comments on commit 9ee6b9c

Please sign in to comment.