你这永远返回false。。。 function a() { return $.ajax().then(function(){return true},function(){return false}) } a().then(function(b) { console.log(b) })
你这永远返回false。。。