摘要: 需求,两个异步请求,第二个请求参数为第一个请求返回值 将第一个请求封装为async函数 async function fn1(){ axios.get().then(()=>{ return '123' }) } fn1().then((result)=>{ axios.get().then(()= 阅读全文
posted @ 2020-09-08 17:14 jeff_zhu 阅读(750) 评论(0) 推荐(0) 编辑