the front-end vue calls the java API through axios, using springboot+jwt, to request with post. When there is a token, request in the headers, it will become options, and report 401. I looked for it on the Internet and said that it was a pre-check request. After the server judged the options, it was sent back successfully, but it still reported a cross-domain error and did not send the post request automatically. what is the reason for this?
it is normal to have a request without a custom headers.