From 229b0de3c6d22b9a2b1ccbbd51c90321b74a3b65 Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 14 Jan 2016 21:15:25 +0800 Subject: [PATCH] upgrade rc-upload to 1.8.0, close #677 --- components/upload/index.md | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/upload/index.md b/components/upload/index.md index bcbbcbf73e..6fba743b8f 100644 --- a/components/upload/index.md +++ b/components/upload/index.md @@ -23,6 +23,7 @@ | name | 可选参数, 上传的文件 | String | file | | action | 必选参数, 上传的地址 | String | 无 | | data | 可选参数, 上传所需参数 | Object | 无 | +| headers | 可选参数, 设置上传的请求头部,IE10 以上有效 | Object | 无 | | showUploadList | 可选参数, 是否展示 uploadList, 默认开启 | Boolean | true | | multiple | 可选参数, 是否支持多选文件,`ie10+` 支持。开启后按住 ctrl 可选择多个文件。 | Boolean | false | | accept | 可选参数, 接受上传的文件类型, 详见 input accept Attribute | String | 无 | diff --git a/package.json b/package.json index eca5ef7729..edfbee4fc7 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "rc-tree": "~0.26.1", "rc-tree-select": "~0.3.3", "rc-trigger": "~1.0.6", - "rc-upload": "~1.7.0", + "rc-upload": "~1.8.0", "rc-util": "~3.0.1", "react-slick": "~0.9.1", "semver": "~5.1.0",