Browse Source

Merge pull request #1281 from yesmeck/update-upload

Update rc-upload to 1.9.0
pull/1284/head
afc163 9 years ago
parent
commit
5308308df9
  1. 2
      components/upload/index.md
  2. 2
      package.json

2
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 |

2
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",

Loading…
Cancel
Save