2022年05月27日 2k 阅读 💻开发记录 Promise详解 PromisePromise有三种状态,分别是:等待(pending)、已完成(fulfilled)、已拒绝(rejected)Promise初始状态为:等待状态,可以通过他的两个参数 reso...