Browse Source

fix: update upload action of props

resolved #66
pull/77/merge
wangxueliang 6 years ago
parent
commit
bdb6ada30b
  1. 2
      components/upload/interface.jsx

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

Loading…
Cancel
Save