I think it may be because I defined getData globally, so the promise cannot get the status.
Otherwise, why are the functions in the failure state of promise.all not executed?
I hope Daniel can help me answer this question.
巴扎黑2017-07-05 10:43:33
Because every time the Jsonp function is executed, your window.getData will be redefined and assigned a value