先来看下Promise 的一般用法。 // 声明Promise 对象var p = new Promise(function (resolve, reject) { // 不管啥时候,该执行then了,就调用 ...
確定! 回上一頁