as above.
when calling a cross-domain interface, if the interface returns an error code such as 500, the front end cannot obtain the response error code (of course, 200 code is able to obtain information normally).
it seems impossible to solve it at the front-end level. How should the server make changes so that the front-end can get the error message normally?
ps: cannot be returned in this way: background status code 200, and then put {code: 500}
in the data.