细分promise.all 和race的区别 青年阿东 2020-10-10 316 阅读1分钟 promise.all() //所有的成功才成功 promise.race() //只要有一个成功就会成功