diff --git a/components/upload/index.md b/components/upload/index.md index a81217d52c..8dc05c1e64 100644 --- a/components/upload/index.md +++ b/components/upload/index.md @@ -22,7 +22,7 @@ |------------|--------------------------------------------------------------| ----------- |-------| | name | 可选参数, 上传的文件 | String | file | | action | 必选参数, 上传的地址 | String | 无 | -| data | 可选参数, 上传所需参数 | Object | 无 | +| data | 可选参数, 上传所需参数或返回上传参数的方法 | Object or function(file) | 无 | | headers | 可选参数, 设置上传的请求头部,IE10 以上有效 | Object | 无 | | showUploadList | 可选参数, 是否展示 uploadList, 默认开启 | Boolean | true | | multiple | 可选参数, 是否支持多选文件,`ie10+` 支持。开启后按住 ctrl 可选择多个文件。 | Boolean | false | diff --git a/package.json b/package.json index 2db2135856..920f53b910 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "rc-tree": "~1.1.0", "rc-tree-select": "~1.4.1", "rc-trigger": "~1.2.0", - "rc-upload": "~1.8.0", + "rc-upload": "~1.9.0", "rc-util": "~3.1.2", "react-slick": "^0.11.0", "velocity-animate": "~1.2.2",