docs: add ref for upload, close: #3171

This commit is contained in:
Benjy Cui 2016-09-29 15:37:32 +08:00
parent 0c90e73fa8
commit a40a8e914f
2 changed files with 5 additions and 1 deletions

View File

@ -16,6 +16,8 @@ Uploading is the process of publishing information (web pages, text, pictures, v
## API
> You can consult [jQuery-File-Upload](https://github.com/blueimp/jQuery-File-Upload/wiki) about how to implement server side upload interface.
| Property | Description | Type | Default|
|------------|----------------------------------------------------| ----------- |--------|
| name | Optional. The name of uploading file | String | file |

View File

@ -17,9 +17,11 @@ title: Upload
## API
> 服务端上传接口实现可以参考 [jQuery-File-Upload](https://github.com/blueimp/jQuery-File-Upload/wiki)。
| 参数 | 说明 | 类型 | 默认值|
|------------|--------------------------------------------------------------| ----------- |-------|
| name | 可选参数, 上传的文件 | String | file |
| name | 可选参数, 上传的文件 | String | file |
| defaultFileList | 可选参数,默认已经上传的文件列表 | Array[Object] | 无 |
| fileList | 可选参数,已经上传的文件列表 | Array[Object] | 无 |
| action | 必选参数, 上传的地址 | String | 无 |