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

上传一张图片,允许重复上传,第二次上传覆盖第一次的图片,求实现思路? #9

Open
sTrevor opened this issue Dec 25, 2017 · 4 comments

Comments

@sTrevor
Copy link

sTrevor commented Dec 25, 2017

我采用先移除,再上传的方式,但是上一张图片没有被移除。大神能提供一下实现方式吗?

@devin87
Copy link
Owner

devin87 commented Dec 26, 2017

存储时使用同一文件名即可

@sTrevor
Copy link
Author

sTrevor commented Dec 28, 2017 via email

@sTrevor
Copy link
Author

sTrevor commented Dec 29, 2017

我想实现如下功能,点击提交按钮先触发上传图片,上传完成后,才执行提交按钮的后台代码。能提供下思路吗?(我按正常思路做,图还没有上传完成,后台代码已经执行了。我做.net项目.)

@devin87
Copy link
Owner

devin87 commented Dec 29, 2017

将上传处理和后台处理分开。先上传图片,然后执行下一步。

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