摘要: //promise:then,catch,finally,all,race // then时state还是pending等待状态 我们就需要在then调用的时候,将成功和失败存到各自的数组,一旦reject或者resolve,就调用它们,类似发布订阅 //pending,fulfilled,reje 阅读全文
posted @ 2020-09-09 16:20 尽世间恶丑 阅读(189) 评论(0) 推荐(0) 编辑