About the problem when axios joins the form to submit data

both say that when submitting data using axios and fomeData, the form parameters cannot be printed on the console and can only be obtained through the get method.
what I don"t understand is that the parameters I need to transfer to the interface are generally encrypted, but the two parameters for uploading pictures in the form, file1,file2, are not encrypted. That is to say, I need to judge that if the parameter is file1 file2, it is not encrypted.

this is my encrypted code to encrypt the parameters

params


before calling the interface.
Mar.22,2021

this parameter has been added successfully in the Network request package. Send a Demo to see how to solve this problem


as long as the network displays an empty formdata, your data will be sent to the background, but you won't see it in preload

.
Menu