From 3e359e4550d018035406a97c190b98f83839ba7f Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期五, 13 十二月 2024 10:41:05 +0800 Subject: [PATCH] 1、工作流重做更新 2、@import修改为@use以应对sass升级弃用@import 3、进入系统后自动redirect到home页 --- src/layout/components/Menu/src/Menu.vue | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/src/layout/components/Menu/src/Menu.vue b/src/layout/components/Menu/src/Menu.vue index 466cca5..94a1da4 100644 --- a/src/layout/components/Menu/src/Menu.vue +++ b/src/layout/components/Menu/src/Menu.vue @@ -90,6 +90,11 @@ 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} > {{ @@ -190,6 +195,16 @@ } } + // 垂直菜单 + &__vertical { + :deep(.#{$elNamespace}-menu--vertical) { + &:not(.#{$elNamespace}-menu--collapse) .#{$elNamespace}-sub-menu__title, + .#{$elNamespace}-menu-item { + padding-right: 0; + } + } + } + // 水平菜单 &__horizontal { height: calc(var(--top-tool-height)) !important; -- Gitblit v1.9.3