fix: update upload action of props

resolved #66
pull/165/head
wangxueliang 2018-07-11 11:47:18 +08:00
parent 25575b0f7b
commit f5da675432
1 changed files with 1 additions and 1 deletions

View File

@ -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]),