有关promise的技巧

其实promise的作用是将异步的代码转化为同步,这里的异步指的是request1,request2.

原文地址:https://www.cnblogs.com/MDGE/p/10685792.html