The validateFields check of the Ant Design form does not work

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

.

solved. It is resetFields who clears the prompt, adjusts the position, and moves it to the callback function of validateFields to display

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37843-3444d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37843-3444d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?