javascript - All promises return to resolved status. Why is promise.all still not executed?
習慣沉默
習慣沉默 2017-07-05 10:41:33
0
1
1247

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.

習慣沉默
習慣沉默

reply all(1)
巴扎黑

Because every time the Jsonp function is executed, your window.getData will be redefined and assigned a value

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template