shinnosuke
2026-08-06 8551cee19b752fdefeb0445d1a3c96ba27017aa9
fix(talent): 更正游客身份文案 (bug #24159)
1个文件已修改
2 ■■■■■ 已修改文件
rencaika/pages/profile/profile.uvue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
rencaika/pages/profile/profile.uvue
@@ -116,7 +116,7 @@
            profileLoading.value = false
            hasTalentCard.value = data != null && data.hasTalentCard === true && data.card != null
            applicationMessage.value = data != null && data.applicationMessage != null ? data.applicationMessage as string : '请完成认证后开通人才卡。'
            if (!hasTalentCard.value) { avatarText.value = '人'; userName.value = '人才用户'; return }
            if (!hasTalentCard.value) { avatarText.value = '人'; userName.value = '普通游客'; return }
            const card: any = data.card
            userName.value = card.name != null ? card.name as string : '人才用户'
            avatarText.value = userName.value.length > 0 ? userName.value.substring(0, 1) : '人'