Promise Promise 的基本使用和原理 1.new Promise 实例,而且要return 2.new Promise 要传入函数,函数里面有两个参数,函数有resolve,reject 3.成功时执行resolve(),失败时执行 reject() 4.then 进行监听