Closed WenhanDo closed 2 years ago
I have a situation where only certain kind of images need cop and for others, cop is skipped by returning false in beforeCrop but customRequest is skipped when beforeCrop returns false or a Promise that resolves false
is this a feature or a bug?
also, seems like beforeUpload is skipped too
when beforeCrop returns falsy, will stop the upload work.
@WenhanDo instead of false, return the passed file and it will work
beforeCrop={(file) => file}
I have a situation where only certain kind of images need cop and for others, cop is skipped by returning false in beforeCrop but customRequest is skipped when beforeCrop returns false or a Promise that resolves false
is this a feature or a bug?