新闻点赞用户判断

This commit is contained in:
尹吉欢
2018-04-08 14:48:54 +08:00
parent f61587783e
commit 29744d9260
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ function numberConver(thumbsUpCount){
function isCollect(){
axios.post("/rest/news/checkCollect",{newsId : id}).then(function (response) {
var msg = response.data.data
var msg = response.data.data;
if(msg){
$(".collection").addClass("collection02")
$(".collection i").addClass("icon-collection02")