How to realize delayed upload by antd upload

the usual file upload is to select a file in the system pop-up window,

clipboard.png
then click the open button to upload the file directly,

now we have a requirement that after the operation in the system pop-up window is completed, the upload will not be carried out, but the list of files to be uploaded will be displayed.
it will not be uploaded until a button to start uploading is clicked.

the question now is how to control whether the file is uploaded or not.


the official has provided a case:


beforeUpload method manually return false , store file in variables (you can save those that have been converted, because the file name needs to be displayed for upload, and js can continue to execute), and send the file where you need it

.
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-1b3682c-2c028.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-1b3682c-2c028.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?