fix(admin): 用户列补全「昵称 / UID / 设备」标签与冒号

两行都以「字段名:值」呈现,避免只看到一串随机字母。
This commit is contained in:
Vicky authored and trae-solo-agent committed 2026-10-27 14:28:59 +08:00
1 parent e1eb58d4c4
commit 5da72d1aa2
1 file changed
+3 -3
+3 -3
View File
@@ -21,14 +21,14 @@ const isGuest = computed(() => props.row?.userId == null)
<template v-if="isGuest">
<el-tag type="info" size="small">游客</el-tag>
<span class="app-user-uid app-user-device" :title="row.deviceId || ''">
设备 {{ row.deviceId || '—' }}
设备:{{ row.deviceId || '—' }}
</span>
</template>
<template v-else>
<span class="app-user-name" :title="row.nickname || ''">
{{ row.nickname || '未设置昵称' }}
昵称:{{ row.nickname || '未设置昵称' }}
</span>
<span class="app-user-uid">UID {{ row.uid || `#${row.userId}` }}</span>
<span class="app-user-uid">UID:{{ row.uid || `#${row.userId}` }}</span>
</template>
</div>
</template>