refactor: 个人中心 下拉卡片 昵称超长省略显示
This commit is contained in:
parent
c09c089265
commit
aec123a834
@ -13,6 +13,7 @@
|
||||
- 字典接口抛出异常(为什么会抛出异常?)无限调用接口 兼容处理
|
||||
- 代码生成 字典下拉加载 改为每次进入编辑页面都加载
|
||||
- 个人中心 账号绑定 样式/逻辑重构
|
||||
- 个人中心 下拉卡片 昵称超长省略显示
|
||||
|
||||
# 1.4.0
|
||||
|
||||
|
||||
@ -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 }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user