There are check boxes in the html form, and some fields have default values, so is it impossible to specify the fields one by one to upload data?
拼搏奋斗2019-12-08 14:13:03
The problem has been perfectly solved. Convert the file object returned by the controller into an array and assign the specified field to the form $data. I have been troubled for many days and solved it in an instant, haha!
青草根2019-12-08 12:26:36
Isn’t this under your own control? How did you encapsulate it? Just specify the fields when encapsulating