From 32c43ada278e122b5dfe4d11414e9e8ee6da9b2d Mon Sep 17 00:00:00 2001 From: zhangsir Date: Wed, 18 Sep 2024 10:03:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E8=A1=8C=E6=A6=9C=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=EF=BC=8C=E5=8F=96=E6=B6=88=E5=AD=A6=E4=B9=A0=E5=A4=A9=E6=95=B0?= =?UTF-8?q?=E5=BD=93=E5=89=8D=EF=BC=8C=E4=BF=9D=E7=95=99=E5=85=B6=E4=BB=96?= =?UTF-8?q?=E4=B8=A4=E4=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/user/ranking.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/user/ranking.vue b/src/views/user/ranking.vue index fc98775c..e405f459 100644 --- a/src/views/user/ranking.vue +++ b/src/views/user/ranking.vue @@ -206,7 +206,7 @@ 累计 - 当前 + @@ -429,14 +429,14 @@ export default { getDuration() {//学习时长 let data = { aid:this.userInfo.aid,// #用户id - statType:10, // #统计类型 10学习时长 11 学习天数 20表经验值 30表u币 40表获取天数 + statType:12, // #统计类型 10学习时长 11 学习天数 20表经验值 30表u币 40表获取天数 field:this.learningDuration.field,// #统计周期 todays-当天,weeks-周,months-月,years-年 total-总计 num:5,// #显示的条数 } if(data.field == 'now'){ - data.statType = 12 + data.statType = 10 data.field = 'total' - this.experience.field = 'total' + this.learningDuration.field = 'total' this.isStudyTime = true } apiStat.getRanking(data).then(res=>{ @@ -485,7 +485,7 @@ export default { if(data.field == 'now'){ data.statType = 13 data.field = 'total' - this.experience.field = 'total' + this.learningDays.field = 'total' this.isStudyDay = true } apiStat.getRanking(data).then(res=>{