摘要: // 超时版的fetch _fetch(fetch, timeout) { return Promise.race([ fetch, new Promise(function (resolve, reject) { setTimeout(... 阅读全文
posted @ 2017-06-29 20:45 Sorrow.X 阅读(3400) 评论(9) 推荐(0) 编辑