This commit is contained in:
guange 2019-01-22 15:11:29 +08:00
parent add0dd9bba
commit 13044e3244
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ $(function(){
//更新抓取信息
setInterval(function(){
$.ajax('/myapp/api/news.json').done(function(datas){
var datas = JSON.parse(datas);
for(var i =0; i < datas.length; ++i){
var data = datas[i];