摘要: const datas = idList .map(id => url+'/id') .map(url => fetch(url).then(res => res.json())); const p = new Promise.all(datas) .then(data => {...}) const datas = idList .map(id => url+'/id') ... 阅读全文
posted @ 2019-04-26 16:54 冰糖雪梨橙 阅读(1108) 评论(0) 推荐(0) 编辑