update upload API, #863

This commit is contained in:
afc163 2016-12-13 18:48:11 +08:00
parent f0d1b94163
commit dba6b70e38
2 changed files with 3 additions and 0 deletions

View File

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

View File

@ -38,6 +38,7 @@ title: Upload
| onRemove | 点击移除文件时的回调 | Function(file) | 无 |
| supportServerRender | 服务端渲染时需要打开这个 | Boolean | false |
| disabled | 是否禁用 | Boolean | false |
| withCredentials | 上传请求时是否携带 cookie | Boolean | false |
### onChange