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

修改关注

parent 059d8162
...@@ -410,20 +410,15 @@ import {getDict} from "../api/system/dict/data"; ...@@ -410,20 +410,15 @@ import {getDict} from "../api/system/dict/data";
userId: uni.getStorageSync('userInfo').businessId, userId: uni.getStorageSync('userInfo').businessId,
targetId: id, targetId: id,
} }
addFollow(form) addFollow(form).then(res => {
}else if (type === false){ this.getIsFollowed();
const form = { this.animUrl = url;
userId: uni.getStorageSync('userInfo').businessId, this.showAnima = true;
targetId: id, setTimeout(() => {
} this.showAnima = false;
deleteFollow(form) }, 500)
})
} }
this.getIsFollowed();
this.animUrl = url;
this.showAnima = true;
setTimeout(() => {
this.showAnima = false;
}, 500)
}, },
//点赞 //点赞
like(id,url){ 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