Today, when I was using El-Upload, obviously the picture had been uploaded successfully, but when I checked it, I found the status code was 400. I was puzzled

“Invalid token”, no way, I have configured the global interceptor to set token

This shows. The Upload component does not use Axios; Element officially gives a HEADERS attribute

Just set the properties and bind them manually