FineUploader中的itemLimit实际上是什么?

编程入门 行业动态 更新时间:2024-10-26 10:32:31
本文介绍了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实际上是什么?

本文发布于:2023-11-02 14:01:01,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1552597.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:FineUploader   itemLimit

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!