Commit 2a44d0e1 authored by 罗林杰's avatar 罗林杰

修改关注

parent 059d8162
......@@ -410,20 +410,15 @@ import {getDict} from "../api/system/dict/data";
userId: uni.getStorageSync('userInfo').businessId,
targetId: id,
}
addFollow(form)
}else if (type === false){
const form = {
userId: uni.getStorageSync('userInfo').businessId,
targetId: id,
}
deleteFollow(form)
addFollow(form).then(res => {
this.getIsFollowed();
this.animUrl = url;
this.showAnima = true;
setTimeout(() => {
this.showAnima = false;
}, 500)
})
}
this.getIsFollowed();
this.animUrl = url;
this.showAnima = true;
setTimeout(() => {
this.showAnima = false;
}, 500)
},
//点赞
like(id,url){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment