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.
请问下我在做大文件上传的检验时,当我收到服务器的响应,如果后端验证不通过,我会防止这次上传,但是这个时候如果只用task.reject()前端会卡死(在chunk检测的时候task.reject()反而没有任何情况),然后参考了 #2956 这个问题,我把代码改成了:
这个时候虽然不会卡死,但是发现这种情况下chunk仍然被都传到了后端,于是乎我又查到了这个问题 #587,将代码改为了
这种情况下虽然能解决chunk被继续上传的问题,但是这样的话我的uploader就不能再接受新的文件上传了(我把uploader的auto设置为true的情况下,并且代码改为了以上的样子,选择新的文件之后不会触发任何的事件了),请问下这种情况下到底要怎么才能解决跳过一整个文件的上传,同时uploader仍能正常上传新选择的文件?
The text was updated successfully, but these errors were encountered: