diff --git a/components/upload/interface.jsx b/components/upload/interface.jsx index a4b6a3b54..e2d410395 100755 --- a/components/upload/interface.jsx +++ b/components/upload/interface.jsx @@ -56,7 +56,7 @@ export const UploadProps = { name: PropsTypes.string, defaultFileList: PropsTypes.arrayOf(PropsTypes.custom(UploadFile)), fileList: PropsTypes.arrayOf(PropsTypes.custom(UploadFile)), - action: PropsTypes.string.isRequired, + action: PropsTypes.string, data: PropsTypes.oneOfType([PropsTypes.object, PropsTypes.func]), headers: PropsTypes.object, showUploadList: PropsTypes.oneOfType([PropsTypes.bool, ShowUploadListInterface]),