fix bug
This commit is contained in:
@@ -1564,11 +1564,11 @@ function initNews(page){
|
||||
}
|
||||
|
||||
for(var i in response.data.data.list){
|
||||
dataObj.push(response.data.data.list[i])
|
||||
if(dataObj[i].todayDeploy && todayDeployFlag){
|
||||
todayDeployFlag = false;
|
||||
$("#todayNews").show();
|
||||
}
|
||||
dataObj.push(response.data.data.list[i])
|
||||
}
|
||||
lastIndex = $('.cardInfo').length;
|
||||
itemsPerLoad = response.data.data.list.length;
|
||||
|
||||
Reference in New Issue
Block a user