From 5b5b052e848135c7ecd163565e6bb2cc8fd4f02e Mon Sep 17 00:00:00 2001 From: Tao Date: Tue, 11 Feb 2020 19:11:23 +0800 Subject: [PATCH] fix: pass `transformedFile` to `onStart` --- src/AjaxUploader.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AjaxUploader.jsx b/src/AjaxUploader.jsx index 248e3e15..eab7a5bc 100644 --- a/src/AjaxUploader.jsx +++ b/src/AjaxUploader.jsx @@ -159,7 +159,7 @@ class AjaxUploader extends Component { }, }; this.reqs[uid] = request(requestOption); - onStart(file); + onStart(transformedFile); }); }); }