mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
勋章过滤
This commit is contained in:
@@ -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);
|
||||
}
|
||||
})
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user