From bdb6ada30bf4c40b266805fca2d204b0a7e7738b Mon Sep 17 00:00:00 2001 From: wangxueliang Date: Wed, 11 Jul 2018 11:47:18 +0800 Subject: [PATCH] fix: update upload action of props resolved #66 --- components/upload/interface.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]),