|
|
@ -100,14 +100,13 @@ export default defineComponent({ |
|
|
|
|
|
|
|
const renderMenu = () => { |
|
|
|
return ( |
|
|
|
<ElMenu |
|
|
|
<ElMenu style="height:100%" |
|
|
|
defaultActive={unref(activeMenu)} |
|
|
|
mode={unref(menuMode)} |
|
|
|
collapse={ |
|
|
|
unref(layout) === 'top' || unref(layout) === 'cutMenu' ? false : unref(collapse) |
|
|
|
} |
|
|
|
uniqueOpened={unref(layout) === 'top' ? false : unref(uniqueOpened)} |
|
|
|
backgroundColor="var(--left-menu-bg-color)" |
|
|
|
textColor="var(--left-menu-text-color)" |
|
|
|
activeTextColor="var(--left-menu-text-active-color)" |
|
|
|
onSelect={menuSelect} |
|
|
@ -307,4 +306,8 @@ $prefix-cls: #{$namespace}-menu-popper; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.v-menu .el-menu .el-menu .el-menu-item:not(.is-active):hover{ |
|
|
|
background-color: rgb(241,243,244) !important; |
|
|
|
} |
|
|
|
|
|
|
|
</style> |
|
|
|