mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-26 22:04:31 +08:00
refactor: 个人中心 下拉卡片 昵称超长省略显示
This commit is contained in:
@@ -211,7 +211,12 @@ if (enableShortcutKey.value) {
|
||||
v-if="tagText || text || $slots.tagText"
|
||||
class="text-foreground mb-1 flex items-center text-sm font-medium"
|
||||
>
|
||||
{{ text }}
|
||||
<div
|
||||
class="max-w-[100px] overflow-hidden text-ellipsis break-keep"
|
||||
:title="text"
|
||||
>
|
||||
{{ text }}
|
||||
</div>
|
||||
<slot name="tagText">
|
||||
<Badge v-if="tagText" class="ml-2 text-green-400">
|
||||
{{ tagText }}
|
||||
|
||||
Reference in New Issue
Block a user