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

Upload组件上传状态一直处于uploading #2570

Closed
ypwlal opened this issue Aug 1, 2016 · 3 comments
Closed

Upload组件上传状态一直处于uploading #2570

ypwlal opened this issue Aug 1, 2016 · 3 comments

Comments

@ypwlal
Copy link

ypwlal commented Aug 1, 2016

本地环境

  • antd 版本: 1.7.5
  • 操作系统及其版本:window 10
  • 浏览器及其版本: chrome52.0.2743.82 firefox 47.0.1

你做了什么?

引入antd,使用Upload组件,对照官方demo

你期待的结果是:

像官网一样正常显示

实际上的结果:

在onChange打印files对象,其中文件对象
status一直为uploading
event一直为undefined
response一直为undefined

更换为antd 1.6.4后可以正常使用;

可重现的在线演示

@benjycui
Copy link
Contributor

benjycui commented Aug 1, 2016

现在最新版本是 1.7.0,先升级试试吧。

@afc163
Copy link
Member

afc163 commented Aug 1, 2016

#2423

@afc163 afc163 closed this as completed Aug 1, 2016
@lock
Copy link

lock bot commented May 4, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants