From 03dd7e47a6081fcac08c252b9e277a845ada0f43 Mon Sep 17 00:00:00 2001 From: dragon <3013557874@qq.com> Date: Fri, 21 Jun 2024 17:07:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=A6=9C=E5=8D=95=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/molistar/modules/pkRank/js/index.js | 2 +- .../modules/room_rank/hourRankLicense.html | 2 +- .../modules/room_rank/js/hourRankLicense.js | 21 +++++++------------ 3 files changed, 10 insertions(+), 15 deletions(-) diff --git a/view/molistar/modules/pkRank/js/index.js b/view/molistar/modules/pkRank/js/index.js index ebbf842a..900eac19 100644 --- a/view/molistar/modules/pkRank/js/index.js +++ b/view/molistar/modules/pkRank/js/index.js @@ -178,7 +178,7 @@ function getRecord() { success(res) { if (res.code === 200) { var str = ''; - if (res.data.length == 0 && pageNumPk == 1) { + if (res.data.length == 0) { lockPk = false; } else { res.data.forEach((res, i) => { diff --git a/view/molistar/modules/room_rank/hourRankLicense.html b/view/molistar/modules/room_rank/hourRankLicense.html index e47ae90b..1d39e07c 100644 --- a/view/molistar/modules/room_rank/hourRankLicense.html +++ b/view/molistar/modules/room_rank/hourRankLicense.html @@ -59,5 +59,5 @@ - + \ No newline at end of file diff --git a/view/molistar/modules/room_rank/js/hourRankLicense.js b/view/molistar/modules/room_rank/js/hourRankLicense.js index a6430187..6ac5d366 100644 --- a/view/molistar/modules/room_rank/js/hourRankLicense.js +++ b/view/molistar/modules/room_rank/js/hourRankLicense.js @@ -88,9 +88,6 @@ const renderLastHourThree = () => { } let str = '' lastHourRank.map((item, index) => { - if (item.score > 10000) { - item.score = (Math.floor(item.score / 1000)) / 10 + 'W' - } str += `