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

[Bug]文件上传时,异步导致formData数据错误 #109

Closed
liucien opened this issue Jun 30, 2020 · 1 comment
Closed

[Bug]文件上传时,异步导致formData数据错误 #109

liucien opened this issue Jun 30, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@liucien
Copy link
Contributor

liucien commented Jun 30, 2020

#107 ### 1.formRender 对应的版本,fork codeSandbox 写一个最简可复现的版本,将内容贴到下面

  • formRender 版本号:0.4.4
  • 可复现问题的 codeSandbox 地址:
2.实际的效果以及期待效果或功能说明
  • 实际的效果:
    大文件上传时,前一份文件上传未完成,在一个新的字段内又上传了一份文件,导致数据会发生串行,新的数据会被清除掉

index

  • 期待的效果或功能:
    我现在的做法是加了一个蒙版loading强行让他上传完才能操作,期望异步状态下保持正确的数据更新😀
@liucien liucien added the bug Something isn't working label Jun 30, 2020
@FateRiddle
Copy link
Contributor

抱歉这么迟回复。upload组件现在更新了。直接在ui:options里写props的内容,可以支持所有antd的props,随意写。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants