fix: 修复在火狐浏览器中菜单折叠后,文字超出未隐藏的问题

This commit is contained in:
xiaoxian521 2024-05-28 12:19:18 +08:00
parent cd653c83f0
commit a8377f8d45
2 changed files with 3 additions and 3 deletions

View File

@ -119,7 +119,7 @@ menus:
pureMenu1-2-1: 菜单1-2-1
pureMenu1-2-2: 菜单1-2-2
pureMenu1-3: 菜单1-3
pureMenu2: 菜单2
pureMenu2: 菜单
purePermission: 权限管理
purePermissionPage: 页面权限
purePermissionButton: 按钮权限

View File

@ -145,7 +145,7 @@ function resolvePath(routePath) {
item?.pathList?.length === 2)
"
truncated
class="!w-full !px-4 !text-inherit"
class="!w-full !pl-4 !text-inherit"
>
{{ transformI18n(onlyOneChild.meta.title) }}
</el-text>
@ -199,7 +199,7 @@ function resolvePath(routePath) {
:class="{
'!w-full': true,
'!text-inherit': true,
'!px-4':
'!pl-4':
layout !== 'horizontal' &&
isCollapse &&
!toRaw(item.meta.icon) &&