From 3357b5f0f0919f7a52cd32a6d6de0acb14e0daaf Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期二, 17 十二月 2024 17:29:01 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/layout/components/TabMenu/src/TabMenu.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/layout/components/TabMenu/src/TabMenu.vue b/src/layout/components/TabMenu/src/TabMenu.vue index b70464c..efad6a6 100644 --- a/src/layout/components/TabMenu/src/TabMenu.vue +++ b/src/layout/components/TabMenu/src/TabMenu.vue @@ -139,7 +139,7 @@ id={`${variables.namespace}-menu`} class={[ prefixCls, - 'relative bg-[var(--left-menu-bg-color)] top-1px layout-border__right', + 'relative bg-[var(--left-menu-bg-color)] layout-border__right', { 'w-[var(--tab-menu-max-width)]': !unref(collapse), 'w-[var(--tab-menu-min-width)]': unref(collapse) @@ -147,7 +147,7 @@ ]} onMouseleave={mouseleave} > - <ElScrollbar class="!h-[calc(100%-var(--tab-menu-collapse-height)-1px)]"> + <ElScrollbar class="!h-[calc(100%-var(--tab-menu-collapse-height))]"> <div> {() => { return unref(tabRouters).map((v) => { @@ -199,7 +199,7 @@ { '!left-[var(--tab-menu-min-width)]': unref(collapse), '!left-[var(--tab-menu-max-width)]': !unref(collapse), - '!w-[calc(var(--left-menu-max-width)+1px)]': unref(showMenu) || unref(fixedMenu), + '!w-[var(--left-menu-max-width)]': unref(showMenu) || unref(fixedMenu), '!w-0': !unref(showMenu) && !unref(fixedMenu) } ]} -- Gitblit v1.9.3