This commit is contained in:
zhaofang
2022-11-18 16:49:58 +08:00
parent e1460dd992
commit 698c510bea
2 changed files with 28 additions and 2 deletions

View File

@@ -74,7 +74,7 @@
<p class="portal-summary-text">{{maPage.userFollow.authorInfo.sign}}</p>
</div>
<div>
<followButton :has="maPage.has" :aid="maPage.userFollow.aid"></followButton>
<followButton :has="maPage.has" :aid="maPage.userFollow.aid" @add="myFollowAdd"></followButton>
</div>
<!--
<div v-if="pageId == userInfo.aid">
@@ -171,6 +171,9 @@ import apiUser from "@/api/system/user.js";
myCancelFollow(dataIndex){ //我关注的,我取消关注
//this.follow.list.splice(dataIndex,1);
},
myFollowAdd(data) {
this.follow.list.push(data);
},
myAddFollow(dataIndex){ //我关注的,我取消关注
//this.follow.list.splice(dataIndex,1);
},