新闻点赞用户判断
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user