Upload large files using antdesign?

could you tell me how to upload large files using antd?

current situation: too large file upload leads to browser crash and interface timeout

flipped through github"s issue, and only saw the beforeUpload function return false. And then what are we going to do with it?

Mar.21,2021

use

let formData = new FormData();
                formData.append('files', filePart);
                formData.append('chunk', index.toString());

pass parameters to the server and split the file.
Note: Google browser does not need to set content-type, or the backend will not get the data


then upload parts with ajax to see how the server configures


browser crashes and the interface times out. I wish I had changed the limit of nginx. Please refer to

.
Menu