From 4484f8e46219555c445cbc6f54422d31941399a5 Mon Sep 17 00:00:00 2001 From: daihh Date: Wed, 23 Nov 2022 18:11:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E6=B3=A8=E5=88=86=E9=A1=B5=E6=9C=AA?= =?UTF-8?q?=E9=87=8D=E7=BD=AE=20=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/HomePage/followList.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/HomePage/followList.vue b/src/components/HomePage/followList.vue index 37d774d9..d86fa870 100644 --- a/src/components/HomePage/followList.vue +++ b/src/components/HomePage/followList.vue @@ -163,6 +163,7 @@ import apiUser from "@/api/system/user.js"; this.$router.push({path:this.$xpage.getHomePath(ava.aid)}) }, myCancelFollow(aid,delIdx){ //我关注的,取消关注操作 + this.followMe.pageIndex=1; this.getMyPage(); // console.log(aid,delIdx,'参数值'); // //先从我关注的人中员列表中移除 @@ -187,6 +188,7 @@ import apiUser from "@/api/system/user.js"; }, myAddFollow(data){ //我关注的,添加关注 + this.followMe.pageIndex=1; this.getMyPage(); //检查“关注我的”人列表中是否有此人,有此设置设置关注状态 // this.followMe.list.some((item,idx)=>{ @@ -200,6 +202,7 @@ import apiUser from "@/api/system/user.js"; }, myFollowAdd(data) { //关注我的,添加关注 //直接刷新“我关注的”人员列表 + this.follow.pageIndex=1; this.getPage(); // 因为转移到新的列表,所以这里需要转化一下 // let check=this.follow.list.some((item,idx)=>{ @@ -217,6 +220,7 @@ import apiUser from "@/api/system/user.js"; }, myFollowCancel(aid){ //关注我的,取消关注 //同步,从我关注的列表中移除 + this.follow.pageIndex=1; this.getPage(); //console.log('移除用户:'+aid); // let delIdx=-1;