fix bug#3957 根据talk_type处理群聊人数显示

This commit is contained in:
wwt 2025-03-14 10:33:14 +08:00
parent 4abd2d8047
commit 67f923b516
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
class="text-[#171717] text-[32rpx] font-medium leading-[44rpx]"
>
<span>{{ props.data.name }}</span>
<span>{{ props.data.group_member_num }}</span>
<span v-if="props.data.talk_type === 2">{{ props.data.group_member_num }}</span>
</div>
</div>
</div>

View File

@ -35,7 +35,7 @@
<div class="text-[#000000] text-[32rpx]
font-bold opacity-90 name_text">
{{ formatNameText(props.data.name) }}
<span v-if="props.data.group_member_num > 0">{{props.data.group_member_num}}</span>
<span v-if="props.data.talk_type === 2">{{props.data.group_member_num}}</span>
<span v-if="props.data.group_type === 2" class="depTag tag">
部门
</span>