use the form component of antd, the form element limit is required, and the form has the function of uploading attachments. I call an interface with ajax and assemble data including attachments with FormData. At this time, you need to set the parameter processData of ajax to false, but the check prompt of the required items cannot be displayed. Remove processData and you can prompt it.
have you ever encountered this kind of problem? when you click Save and submit, you use validateFields to verify
.