From dab830531b968dacfdfef8d9e328754f401cd4ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9D=91=BE=F0=9D=92=96=F0=9D=92=99=F0=9D=92=89?= Date: Fri, 30 Aug 2024 17:56:42 +0800 Subject: [PATCH] fix: restore defaultvalue --- src/Upload.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Upload.tsx b/src/Upload.tsx index 45c9d85..23541e3 100644 --- a/src/Upload.tsx +++ b/src/Upload.tsx @@ -11,6 +11,7 @@ class Upload extends Component { prefixCls: 'rc-upload', data: {}, headers: {}, + name: 'file', multipart: false, onStart: empty, onError: empty,