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

h5上传图片使用chooseImage返回的blob路径,通过uploadFile方法上传后端无法获取? #4650

Closed
bruce-zhang932 opened this issue Oct 22, 2019 · 4 comments

Comments

@bruce-zhang932
Copy link

QQ截图20191022165038
QQ截图20191022165421

chooseImage方法返回的filePath是这种:blob:http://localhost:33333/d736aff9-884b-409f-9641-905cafd57978
通过uploadFile方法进行上传
QQ截图20191022165340
QQ截图20191022165643
后端无法获取我传的值是什么原因?

@taro-bot
Copy link

taro-bot bot commented Oct 22, 2019

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@zongyan86
Copy link

碰到同样的问题啊,兄弟,怎么解决的?

@bruce-zhang932
Copy link
Author

@zongyan86 判读是否是h5,如果是就用input file的方式提交

@zongyan86
Copy link

zongyan86 commented Nov 6, 2019 via email

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