自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Belle_Chou的博客

菜鸟程序媛

  • 博客(5)
  • 问答 (1)
  • 收藏
  • 关注

原创 Promise.all()错误处理

为了让一个fetch宕机之后,promise.all的then里面还能拿到数据,重点就是给每个fetch的promise对象增加容错处理 这样promise.all可以分别处理error问题 getLatestJob(context){ const result1=api.getJobJsonFromShield(context) .then(response =&gt...

2018-09-26 15:24:48 6365

原创 promise.all()取多个数据

coherency state •shared: • at least 1 processor has the data cached & memory is upto-date • block can be read by any processor • exclusive: • 1 processor (the owner) has the data cached & memo...

2018-09-25 16:39:43 4613

原创 Koa-router学习

常用api https://blog.csdn.net/mjzhang1993/article/details/78752314 allowedmethods的用法 https://www.jianshu.com/p/fef91266a44c

2018-09-04 15:27:44 77

原创 js 数组map 原型链

var、let、const 区别? https://www.jianshu.com/p/4e9cd99ecbf5 创建对象 原型 https://www.liaoxuefeng.com/wiki/001434446689867b27157e896e74d51a89c25cc8b43bdb3000/0014344997235247b53be560ab041a7b10360a567422a780...

2018-09-04 14:58:01 704

原创 深入理解koa2的中间件+asycn+next

https://segmentfault.com/a/1190000012881491

2018-09-04 10:13:23 601

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除