03 2021 档案
async/await error
摘要:function smartPromise(promise){ return promise.then(res=>([null,res])).catch((e)=>([e,null])); } async function task(){ const [errorA,fileA] = await s 阅读全文
posted @ 2021-03-25 18:36 jzfan