!491 [修复]菜单: 默认布局为top时,二级菜单鼠标悬停背景色为黑色,如何修改和一级菜单悬停色保持一致

Merge pull request !491 from hhhero/fix/menu-item-hover-bg
This commit is contained in:
芋道源码 2024-08-07 16:13:27 +00:00 committed by Gitee
commit 1c60204350
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -90,6 +90,11 @@ export default defineComponent({
backgroundColor="var(--left-menu-bg-color)" backgroundColor="var(--left-menu-bg-color)"
textColor="var(--left-menu-text-color)" textColor="var(--left-menu-text-color)"
activeTextColor="var(--left-menu-text-active-color)" activeTextColor="var(--left-menu-text-active-color)"
popperClass={
unref(menuMode) === 'vertical'
? `${prefixCls}-popper--vertical`
: `${prefixCls}-popper--horizontal`
}
onSelect={menuSelect} onSelect={menuSelect}
> >
{{ {{