|
@@ -1317,7 +1317,7 @@
|
|
|
}
|
|
|
})
|
|
|
} else if (str == 'g') {
|
|
|
- $(".follow").css("display","")
|
|
|
+
|
|
|
// 关注
|
|
|
let param = {
|
|
|
sid:id
|
|
@@ -1327,8 +1327,8 @@
|
|
|
url: '/entnicheNew/follow/project/check',
|
|
|
data: param,
|
|
|
success: function(res) {
|
|
|
- console.log(res)
|
|
|
- if(res.error_code == 0) {
|
|
|
+ if(res.error_code == 0 &&fd.data&& fd.data.showFollow) {
|
|
|
+ $(".follow").css("display","")
|
|
|
if(res.data.flag) {
|
|
|
followFlag = true
|
|
|
$(".follow").addClass('follow_vip').html('<i class="glyphicon yiguanzhu"></i>已关注');
|