await 与 Promise.all 结合使用 葛大妮 2022-02-09 420 阅读1分钟 const p1 = async () => {} const p2 = async () => {} const p3 = async () => {} const [result1, result2, result3] = await Promise.all([p1, p2, p3]) console.log(result1) console.log(result2) console.log(result3)