diff --git a/README.md b/README.md index c83e92d..183af32 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ var uploader = new Uploader({ accept: 'image/*', data: {'xsrf': 'hash'}, multiple: true, + useIframe: true, error: function(file) { alert(file); }, @@ -69,6 +70,10 @@ action 为 `
` 的值,表单提交的地址。 是否支持多文件上传。默认为 false。 +### useIframe `boolean` + +始终使用Iframe方式上传,默认为false。 + ### data `object` 随表单一起要提交的数据。