refactor: 账号超长显示

This commit is contained in:
dap
2025-06-18 10:45:30 +08:00
parent aec123a834
commit af0bb9bd66

View File

@@ -219,7 +219,12 @@ if (enableShortcutKey.value) {
</div>
<slot name="tagText">
<Badge v-if="tagText" class="ml-2 text-green-400">
{{ tagText }}
<div
class="max-w-[50px] overflow-hidden text-ellipsis"
:title="tagText"
>
{{ tagText }}
</div>
</Badge>
</slot>
</div>