fix(layout->menu): can`t hover when menu is colappsed (#3499) resolve #3492

This commit is contained in:
xachary
2024-01-05 09:52:19 +08:00
committed by GitHub
parent f0ca8d5a03
commit 7ffe1726b9

View File

@@ -44,7 +44,8 @@
:class="`${prefixCls}-submenu-title-icon`"
/>
</div>
<template #content v-if="state.opened">
<!-- eslint-disable-next-line -->
<template #content v-show="state.opened">
<div v-bind="getEvents(true)">
<ul :class="[prefixCls, `${prefixCls}-${getTheme}`, `${prefixCls}-popup`]">
<slot></slot>