Browse Source

ellipsis

master_hella_20240701
yufei0306 5 months ago
parent
commit
c23a3f5dcc
  1. 3
      src/layout/components/Menu/src/components/useRenderMenuTitle.tsx

3
src/layout/components/Menu/src/components/useRenderMenuTitle.tsx

@ -9,7 +9,8 @@ export const useRenderMenuTitle = () => {
return icon ? (
<>
<Icon icon={meta.icon}></Icon>
<span class="v-menu__title ellipsis">{t(`ts.${title}` as string).replace('ts.','')}</span>
{/* ellipsis */}
<span class="v-menu__title">{t(`ts.${title}` as string).replace('ts.','')}</span>
</>
) : (
<span class="v-menu__title">{t(`ts.${title}` as string).replace('ts.','')}</span>

Loading…
Cancel
Save