mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 03:16:42 +08:00
按照需求,修改关注与取消关注的提示信息。
This commit is contained in:
@@ -119,6 +119,7 @@
|
||||
apiFollow.remove(this.pageId).then(res=>{
|
||||
if(res.status == 200) {
|
||||
this.isFollowHas = false;
|
||||
this.$message.success("取消关注成功");
|
||||
} else {
|
||||
this.$message.error(res.message);
|
||||
}
|
||||
@@ -157,7 +158,7 @@
|
||||
toFollow() {
|
||||
apiFollow.save(this.pageId).then(res=>{
|
||||
if(res.status == 200) {
|
||||
this.$message.success(res.message);
|
||||
this.$message.success("关注成功");
|
||||
this.followHas();
|
||||
} else {
|
||||
this.$message.error(res.message);
|
||||
|
||||
Reference in New Issue
Block a user