diff --git a/src/components/UcHeader/Index.vue b/src/components/UcHeader/Index.vue index ee9dabcf..8a9b63b1 100644 --- a/src/components/UcHeader/Index.vue +++ b/src/components/UcHeader/Index.vue @@ -124,6 +124,7 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js"; }, methods:{ loadUserStat(){//获取经验值和等级 + let $this=this; apiStart.getUserStatTotalInfo(this.userInfo.aid).then(res=>{ if(res.status == 200) { this.statData.evalue = res.result.evalue; @@ -133,7 +134,12 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js"; this.statData.monthStudyDays = res.result.monthStudyDays; this.statData.totalStudyDays = res.result.totalStudyDays; this.statData.uvalue = res.result.uvalue; - this.medalList=res.result.medalList; + $this.medalList=[]; + res.result.medalList.forEach(aa=>{ + if(aa.medalId!=5){ + $this.medalList.push(aa); + } + }) } }); },