Pre Merge pull request !876 from 芋道源码/revert-merge-870-master

pull/876/MERGE
芋道源码 2026-05-03 10:55:40 +00:00 committed by Gitee
commit 40f78571ca
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 10 deletions

View File

@ -10,20 +10,12 @@ export const useRenderMenuTitle = () => {
return icon ? (
<>
<Icon icon={meta.icon}></Icon>
<span
class="v-menu__title truncate"
style="padding-right: calc(var(--el-menu-base-level-padding) + 12px);"
title={t(title as string)}
>
<span class="v-menu__title overflow-hidden overflow-ellipsis whitespace-nowrap">
{t(title as string)}
</span>
</>
) : (
<span
class="v-menu__title truncate"
style="padding-right: calc(var(--el-menu-base-level-padding) + 12px);"
title={t(title as string)}
>
<span class="v-menu__title overflow-hidden overflow-ellipsis whitespace-nowrap">
{t(title as string)}
</span>
)