【发布时间】:2025-12-11 20:55:01
【问题描述】:
现在,我有一个被拒绝的承诺链:
dfd = $.Deferred();
dfd
.then(function(){}, function(x) {
return x + 1; // 2
})
.then(function(){}, function(x) {
return x + 1; // 3
})
.then(function(){}, function(x) {
log('reject ' + x); // 3
return x + 1; // 4
});
dfd.reject(1)
我想知道如何沿着 .then 链向下解决它(转向成功处理程序)?
谢谢
【问题讨论】: