feat: 修复用户姓名显示逻辑,确保正确展示用户的真实姓名
This commit is contained in:
@@ -32,7 +32,7 @@ const { userProfile } = storeToRefs(userStore);
|
|||||||
<ion-icon :icon="personOutline" class="text-xl text-primary" />
|
<ion-icon :icon="personOutline" class="text-xl text-primary" />
|
||||||
<span class="label">真实姓名</span>
|
<span class="label">真实姓名</span>
|
||||||
</div>
|
</div>
|
||||||
<span class="value">{{ userProfile?.fullName || '-' }}</span>
|
<span class="value">{{ userProfile?.user.name || '-' }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 手机号 -->
|
<!-- 手机号 -->
|
||||||
@@ -45,13 +45,13 @@ const { userProfile } = storeToRefs(userStore);
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 身份证号 -->
|
<!-- 身份证号 -->
|
||||||
<div class="info-item">
|
<!-- <div class="info-item">
|
||||||
<div class="flex items-center gap-2">
|
<div class="flex items-center gap-2">
|
||||||
<ion-icon :icon="cardOutline" class="text-xl text-primary" />
|
<ion-icon :icon="cardOutline" class="text-xl text-primary" />
|
||||||
<span class="label">身份证号</span>
|
<span class="label">身份证号</span>
|
||||||
</div>
|
</div>
|
||||||
<span class="value">{{ (userProfile as any)?.idCard || '-' }}</span>
|
<span class="value">{{ (userProfile as any)?.idCard || '-' }}</span>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ion-content>
|
</ion-content>
|
||||||
|
|||||||
Reference in New Issue
Block a user