📅  最后修改于: 2022-03-11 15:02:12.950000             🧑  作者: Mango
const promise1 = //...
const promise2 = //...
Promise.all([promise1, promise2]).then(data => {
const dataFromPromise1 = data[0]
const dataFromPromise2 = data[1]
})