From dbb05f416642bbf44263dc29da209c273301e549 Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Mon, 15 Apr 2024 16:25:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=B8=89=E7=BA=A7?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E5=90=91=E5=B7=A6=E6=8A=98=E5=8F=A0=E5=90=8E?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E6=98=BE=E7=A4=BA=E6=A0=B7=E5=BC=8F=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/sidebar/sidebarItem.vue | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/layout/components/sidebar/sidebarItem.vue b/src/layout/components/sidebar/sidebarItem.vue index 8aa67d777..f9d16018a 100644 --- a/src/layout/components/sidebar/sidebarItem.vue +++ b/src/layout/components/sidebar/sidebarItem.vue @@ -145,7 +145,7 @@ function resolvePath(routePath) { props.item?.pathList?.length === 2) " truncated - class="!px-4 !text-inherit" + class="!w-full !px-4 !text-inherit" > {{ transformI18n(onlyOneChild.meta.title) }} @@ -157,7 +157,7 @@ function resolvePath(routePath) { offset: [0, -10], theme: tooltipEffect }" - class="!text-inherit" + class="!w-full !text-inherit" > {{ transformI18n(onlyOneChild.meta.title) }} @@ -185,18 +185,21 @@ function resolvePath(routePath) {