the front end uses the upload component of iview to upload pictures, and the back end uses laravel5.6 to upload pictures. It is found that the picture content is empty using $request- > all ()
, as shown in the following figure
$_FILES
I don"t know what the problem is. Now I need to use $request- > file ("avatar")
to get it. How can I solve it?