修复数据异常问题

This commit is contained in:
dragon
2025-01-17 15:30:25 +08:00
parent b6f276a862
commit b694db22ef
2 changed files with 3 additions and 3 deletions

View File

@@ -213,7 +213,7 @@ function listRank(type) {
$(`.header .top .top${i + 1} .tx`).attr('src', res.avatar);
$(`.header .top .top${i + 1} .nick`).text(res.name);
// if (i > 0) {
$(`.header .top .top${i + 1} .score span`).text(unitProcessingAr(res.income, 1));
$(`.header .top .top${i + 1} .score span`).text(unitProcessingAr(res.diffNum, 1));
// }
});
// 非前三
@@ -227,7 +227,7 @@ function listRank(type) {
<div class="score">
<b>${langReplace(localLang.demoModule.newText3)}</b>
<img src="./images/${type}.png" alt="">
<span>${unitProcessingAr(res.income, 1)}</span>
<span>${unitProcessingAr(res.diffNum, 1)}</span>
</div>-->
</li>
`

View File

@@ -160,7 +160,7 @@ function listRank(type) {
$(`.header .top .top${i + 1} .tx`).attr('src', res.avatar);
$(`.header .top .top${i + 1} .nick`).text(res.name);
// if (i > 0) {
$(`.header .top .top${i + 1} .score span`).text(unitProcessingAr(res.income, 1));
$(`.header .top .top${i + 1} .score span`).text(unitProcessingAr(res.diffNum, 1));
// }
});
} else {