FineUploader中的itemLimit实际上是什么? [英] What is actually itemLimit in FineUploader?

查看:93
本文介绍了FineUploader中的itemLimit实际上是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已成功将FineUploader与Amazon S3结合使用,但是当设置了项目限制时,假设为"3",除非刷新页面,否则我无法上传3个以上的文件.因此,在文档中所说的会话"是什么意思?

I am successfully using FineUploader with Amazon S3 but when the item limit is set, let's say to "3", I am not able to upload more than 3 files unless I refresh the page. So, what do you mean by "session" when saying in the documentation:

此会话中可以上载的最大项目数.在达到此限制后,将拒绝添加或重试的所有项目."

"Maximum number of items that can be potentially uploaded in this session. Will reject all items that are added or retried after this limit is reached."

我认为会话"是一轮上载-取3个文件并上载,然后取3个或少于3个文件并上载,依此类推.

I thought that "session" is one upload round - take 3 files and upload them, then take 3 more or less than 3 and upload them and so on.

谢谢.

推荐答案

对于 itemLimit ,会话"只是Fine Uploader的当前实例.要启动新的会话",您可以通过页面刷新或以编程方式构造该Fine Uploader对象的新实例.

In the case of itemLimit, the "session" is simply the current instance of Fine Uploader. To start a new "session", you would construct a new instance of that Fine Uploader object, either by a page refresh or programmatically.

这篇关于FineUploader中的itemLimit实际上是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆