diff --git a/view/molistar/modules/newRank/js/index.js b/view/molistar/modules/newRank/js/index.js index d6513d5e..fcf907e4 100644 --- a/view/molistar/modules/newRank/js/index.js +++ b/view/molistar/modules/newRank/js/index.js @@ -91,9 +91,7 @@ function userInfo() { if (partitionId == 2) { $(`.header .monthlyRewards`).hide(); } - if (partitionId == 32) { - $(`.header .monthlyRewards`).hide(); - } + } else { toastMsg(res.message) } @@ -301,9 +299,7 @@ $('.header .tabBox div').click(function () { if (partitionId == 2) { $(`.header .monthlyRewards`).hide(); } - if (partitionId == 32) { - $(`.header .monthlyRewards`).hide(); - } + }) // 日榜周榜切换tab $('.header .sTab div').click(function () { @@ -317,9 +313,7 @@ $('.header .sTab div').click(function () { // $('.header .monthlyRewards').show(); // } $('.header .monthlyRewards').show(); - if (partitionId == 32) { - $(`.header .monthlyRewards`).hide(); - } + } else { $('.header .monthlyRewards').hide(); }