Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不能重复提交同一个文件 #33

Open
yunfour opened this issue Jun 13, 2014 · 1 comment
Open

不能重复提交同一个文件 #33

yunfour opened this issue Jun 13, 2014 · 1 comment

Comments

@yunfour
Copy link

yunfour commented Jun 13, 2014

如果第一次选中了文件a.jpg,等上传完成后如果再想重新上传a.jpg文件,此时继续选择该文件的话,不会触发onchang事件,该如何破???

@afc163
Copy link
Member

afc163 commented Jun 13, 2014

上传成功后会调用 refreshInput 函数以便下次可以上传同一文件的。https://github.com/aralejs/upload/blob/master/index.js#L221

是否没有绑定 success 函数?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants