This commit is contained in:
parent
add0dd9bba
commit
13044e3244
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in New Issue