fix: 一级以下菜单悬停色跟一级菜单悬停色保持一致

pull/491/head
hhhero 2024-08-04 00:45:46 +08:00
parent 93bee8c82c
commit a6e1e5ffe3
1 changed files with 5 additions and 0 deletions

View File

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