解决了关注刷新的问题

This commit is contained in:
2020-08-20 14:32:01 +08:00
parent 26cb84748a
commit 677890a06d

View File

@@ -400,7 +400,12 @@
member_id: member_id
}).then((res) => {
this.follow_page = 0;
this.getRecommendList(); // 关注列表
// this.getRecommendList(); // 关注列表
for(let i in this.recommendList){
if(this.recommendList[i].member_id == member_id){
this.recommendList[i].is_attention == 1 ? this.recommendList[i].is_attention = 0 : this.recommendList[i].is_attention = 1
}
}
this.getFollowList(); // 刷新发现的列表
})
},