You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.
版本:0.1.5。
每上传一幅图片之后,调用uploader.removeFile(file.id, true),如此操作几次之后,每次都用console.log(uploader.getFiles())输出,看到文件集合的长度并没有减少,而是随着操作次数而递增。感觉上removeFile没有起到作用。但是发现可以重复上传同一幅图片,又感觉起到了作用。(PS:如果不调用uploader.removeFile,是不能重复上传同一图片的,除非整页面刷新或把同一图片改名)。也就是说removeFile的确是操作了队列,这样理解不知有没有错?
另外,请教如何获取文件的队列内容。因为通过uploader.getFiles()获取的集合是不会因为调用了removeFile()而有所变化。
The text was updated successfully, but these errors were encountered: