修复数据异常问题
This commit is contained in:
@@ -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>
|
||||
`
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user