fix: 修复菜单在MIX_SIDEBAR模式下title显示为name的问题 (#3682)

This commit is contained in:
0x588 2024-03-22 14:06:40 +08:00 committed by GitHub
parent 54f8584443
commit 264f34e49d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
:icon="item.icon || (item.meta && item.meta.icon)"
/>
<p :class="`${prefixCls}-module__name`">
{{ t(item.name) }}
{{ t(item?.meta?.title || item.name) }}
</p>
</li>
</ul>