diff --git a/src/views/Index.vue b/src/views/Index.vue index 9141da8a..03ec8c89 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -497,7 +497,7 @@ }, data() { return { - showLoginMedal:false,//是否显示登录勋章 + showLoginMedal:true,//是否显示登录勋章 lastStudy:{}, overlayShow:false, userData: { uvalue:0, totalStudyHour:0 }, diff --git a/src/views/portal/follow/index.vue b/src/views/portal/follow/index.vue index 4eb84766..c00ba4b1 100644 --- a/src/views/portal/follow/index.vue +++ b/src/views/portal/follow/index.vue @@ -127,8 +127,7 @@ created() { apiFollow.list().then(res=>{ if(res.status == 200) { - this.followIds = res.result.map(item=>item.followId); - this.followIds.push(this.userInfo.aid) + this.followIds = res.result; this.getList() } })