mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-14 05:16:43 +08:00
提交
This commit is contained in:
@@ -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);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user