mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-08 07:31:09 +08:00
refactor: 个人中心 下拉卡片 昵称超长省略显示
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
- 字典接口抛出异常(为什么会抛出异常?)无限调用接口 兼容处理
|
- 字典接口抛出异常(为什么会抛出异常?)无限调用接口 兼容处理
|
||||||
- 代码生成 字典下拉加载 改为每次进入编辑页面都加载
|
- 代码生成 字典下拉加载 改为每次进入编辑页面都加载
|
||||||
- 个人中心 账号绑定 样式/逻辑重构
|
- 个人中心 账号绑定 样式/逻辑重构
|
||||||
|
- 个人中心 下拉卡片 昵称超长省略显示
|
||||||
|
|
||||||
# 1.4.0
|
# 1.4.0
|
||||||
|
|
||||||
|
|||||||
@@ -211,7 +211,12 @@ if (enableShortcutKey.value) {
|
|||||||
v-if="tagText || text || $slots.tagText"
|
v-if="tagText || text || $slots.tagText"
|
||||||
class="text-foreground mb-1 flex items-center text-sm font-medium"
|
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">
|
<slot name="tagText">
|
||||||
<Badge v-if="tagText" class="ml-2 text-green-400">
|
<Badge v-if="tagText" class="ml-2 text-green-400">
|
||||||
{{ tagText }}
|
{{ tagText }}
|
||||||
|
|||||||
Reference in New Issue
Block a user