mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
完善用户关注功能。
This commit is contained in:
@@ -424,8 +424,10 @@
|
||||
toFollow(item) {
|
||||
apiFollow.save(item.teacherId).then(res => {
|
||||
if (res.status == 200) {
|
||||
this.$message.success('关注成功!');
|
||||
} else {
|
||||
this.$message.success("关注成功!");
|
||||
} else if(res.status == 400){
|
||||
this.$message.warning(res.message);
|
||||
}else{
|
||||
this.$message.error(res.message);
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user