diff --git a/src/components/HomePage/followList.vue b/src/components/HomePage/followList.vue index 482d785a..8861e0f1 100644 --- a/src/components/HomePage/followList.vue +++ b/src/components/HomePage/followList.vue @@ -150,7 +150,7 @@ import apiUser from "@/api/system/user.js"; toFollow(item) { apiFollow.save(item.userFollow.aid).then(res=>{ if(res.status == 200) { - // this.$message.success("关注成功"); + // this.$message.success("关注成功"); this.getMyPage(); } else { this.$message.error(res.message); @@ -158,10 +158,10 @@ import apiUser from "@/api/system/user.js"; }) }, resetActive(){ - this.active=1; + // this.active=1; this.follow={list:[],count:0,pageIndex:1,pageSize:10}, this.followMe={list:[],count:0,pageIndex:1,pageSize:10}, - this.tagTab(1); + this.tagTab(this.active); }, cancel(item,idx) { let $this=this;