Promise.all sends multiple requests, several of which report errors. How can the error message be prompted only once?

clipboard.png
response

clipboard.png

Mar.30,2021

if (error.response) this paragraph is written to promise.all ([.]). Then (). Catch (error= > {if (error.response).}) where


A simple non-invasive method is:

directly make the error prompt box singleton

.

also encounter this problem, how to solve it in the end?


Hello, have you solved the problem

Menu