Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

How to change the thumbUrl of a file in antd?

I have an Upload component in antd that I use to upload pictures. I also have set the pictures to be sortable with JQuery sortable plugin. When I upload large pictures they move extremely slow, due to the fact that the thumbnails have dataURI in them. When I inspect the fileList, the data uri is contained in the thumbUrl property of the file, but I don't know how to change it to point to the url on the server.

Comments