Skip to content

Commit ea49097

Browse files
committed
Add readme
1 parent 92bac82 commit ea49097

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

site/docs/en-US/upload.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,9 @@ submitUpload() {
296296
| listType | type of fileList | string | text/picture/picture-card | text |
297297
| autoUpload | whether to auto upload file | boolean || true |
298298
| fileList | default uploaded files, i.e: [{name: 'food.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg'}] | array || [] |
299+
| disabled | 是否禁用 | boolean || false|
300+
| limit | 最大允许上传个数 | number |||
301+
| onExceed | 文件超出个数限制时的钩子 | function(files, fileList) |||
299302

300303
### Methods
301304
| Event Name | Description | Parameters |

site/docs/zh-CN/upload.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,9 @@ submitUpload() {
300300
| listType | 文件列表的类型 | string | text/picture/picture-card | text |
301301
| autoUpload | 是否在选取文件后立即进行上传 | boolean || true |
302302
| fileList | 上传的文件列表, 例如: [{name: 'food.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg'}] | array || [] |
303+
| disabled | 是否禁用 | boolean || false|
304+
| limit | 最大允许上传个数 | number |||
305+
| onExceed | 文件超出个数限制时的钩子 | function(files, fileList) |||
303306

304307
### Methods
305308
| 方法名 | 说明 | 参数 |

0 commit comments

Comments
 (0)