Authored by yyq

follow user toast

... ... @@ -60,6 +60,16 @@ export default {
followUid: this.authorUid,
status: this.followStatus ? 1 : 0,
authorType: this.authorType
}).then(res => {
if (res.code === 200 && !this.followStatus) {
this.$createToast && this.$createToast({
txt: '关注成功',
type: 'txt',
time: 1000
}).show();
}
return res;
});
}
},
... ...