排名显示错误修复

This commit is contained in:
kron
2025-11-10 14:49:35 +08:00
parent 7e1a3be510
commit cd8814189f
5 changed files with 23 additions and 18 deletions

View File

@@ -180,7 +180,7 @@ onShow(async () => {
<view>
<text>段位</text>
<text :style="{ color: '#83CDFF' }">{{
getLvlName(rankData.user.scores) || "-"
getLvlName(rankData.user.rankLvl) || "-"
}}</text>
</view>
<view>
@@ -359,7 +359,7 @@ onShow(async () => {
<view>
<text class="truncate">{{ item.name }}</text>
<text>
{{ getLvlName(item.totalScore) }}{{ item.TotalGames }}场
{{ getLvlName(item.rankLvl) }}{{ item.TotalGames }}场
</text>
</view>
<text v-if="selectedIndex === 0">