From 5321716653b871d95fee08e3edc960c8f30b47dc Mon Sep 17 00:00:00 2001 From: zhangsir Date: Wed, 7 Aug 2024 15:18:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E8=A1=8C=E6=A6=9C=E5=8F=96=E6=B6=88?= =?UTF-8?q?=E5=BD=93=E5=89=8D=E5=AD=A6=E4=B9=A0=E5=A4=A9=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/user/ranking.vue | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/views/user/ranking.vue b/src/views/user/ranking.vue index fc98775c..6706bf80 100644 --- a/src/views/user/ranking.vue +++ b/src/views/user/ranking.vue @@ -206,7 +206,6 @@ 累计 - 当前 @@ -216,10 +215,10 @@
- {{isStudyDay ? '当前' : '累计'}}排名 : {{learningDaysTotalData.rankNo}} + 累计排名 : {{learningDaysTotalData.rankNo}}
- {{isStudyDay ? '当前' : '累计'}}学习天数 : {{learningDaysTotalData.rankValue}} + 累计学习天数 : {{learningDaysTotalData.rankValue}}
@@ -346,7 +345,6 @@ export default { }, isNow: false, isStudyTime: false, - isStudyDay: false, } }, mounted() { @@ -372,7 +370,6 @@ export default { }, // 学习天数(下拉框事件) daysCommand(e) { - this.isStudyDay = false this.learningDays.field = e; this.learningDays.name = this.translate(e) this.getDays(); @@ -482,12 +479,6 @@ export default { field:this.learningDays.field,// #统计周期 todays-当天,weeks-周,months-月,years-年 total-总计 num:5,// #显示的条数 } - if(data.field == 'now'){ - data.statType = 13 - data.field = 'total' - this.experience.field = 'total' - this.isStudyDay = true - } apiStat.getRanking(data).then(res=>{ if(res.status==200){ if(res.result.currentUserRankingData) {