Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ var uploader = new Uploader({
accept: 'image/*',
data: {'xsrf': 'hash'},
multiple: true,
useIframe: true,
error: function(file) {
alert(file);
},
Expand Down Expand Up @@ -69,6 +70,10 @@ action 为 `<form action="{{action}}">` 的值,表单提交的地址。

是否支持多文件上传。默认为 false。

### useIframe `boolean`

始终使用Iframe方式上传,默认为false。

### data `object`

随表单一起要提交的数据。
Expand Down