From a6e1e5ffe393ffb07e115692658a7fcdf15cd7f2 Mon Sep 17 00:00:00 2001 From: hhhero Date: Sun, 4 Aug 2024 00:45:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=80=E7=BA=A7=E4=BB=A5=E4=B8=8B?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E6=82=AC=E5=81=9C=E8=89=B2=E8=B7=9F=E4=B8=80?= =?UTF-8?q?=E7=BA=A7=E8=8F=9C=E5=8D=95=E6=82=AC=E5=81=9C=E8=89=B2=E4=BF=9D?= =?UTF-8?q?=E6=8C=81=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Menu/src/Menu.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/layout/components/Menu/src/Menu.vue b/src/layout/components/Menu/src/Menu.vue index 466cca50..77f9a307 100644 --- a/src/layout/components/Menu/src/Menu.vue +++ b/src/layout/components/Menu/src/Menu.vue @@ -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} > {{