变成了promise对象的话,就能直接使用then 或者catch 等这些在ES6 Promises里定. 义的方法了。 将thenable对象转换promise对象 var promise = Promise.resolve($.ajax('/ ...
確定! 回上一頁