diff --git a/components/upload/index.en-US.md b/components/upload/index.en-US.md index b3067e347b..d6a85f54e5 100644 --- a/components/upload/index.en-US.md +++ b/components/upload/index.en-US.md @@ -36,6 +36,8 @@ Uploading is the process of publishing information (web pages, text, pictures, v | onPreview | A callback function, will be executed when file link is clicked. | Function(file) | - | | onRemove | A callback function, will be executed when removing file button is clicked | Function(file) | - | | supportServerRender | Need to be turned on while the server side is rendering.| Boolean | false | +| disabled | disable upload button | Boolean | false | +| withCredentials | ajax upload with cookie sent | Boolean | false | ### onChange diff --git a/components/upload/index.zh-CN.md b/components/upload/index.zh-CN.md index 53041e1115..56a90eae56 100644 --- a/components/upload/index.zh-CN.md +++ b/components/upload/index.zh-CN.md @@ -38,6 +38,7 @@ title: Upload | onRemove | 点击移除文件时的回调 | Function(file) | 无 | | supportServerRender | 服务端渲染时需要打开这个 | Boolean | false | | disabled | 是否禁用 | Boolean | false | +| withCredentials | 上传请求时是否携带 cookie | Boolean | false | ### onChange