var promise = new Promise(function(resolve, reject) { // 异步处理 // 处理结束后、调用resolve 或reject });. Promise 构造函数包含一个参数和一个带有resolve(解析) ...
確定! 回上一頁