解决了关注刷新的问题
This commit is contained in:
parent
26cb84748a
commit
677890a06d
@ -400,7 +400,12 @@
|
|||||||
member_id: member_id
|
member_id: member_id
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
this.follow_page = 0;
|
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(); // 刷新发现的列表
|
this.getFollowList(); // 刷新发现的列表
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user