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 时遇到的问题? #2230

Open
Aiooon opened this issue Sep 8, 2022 · 0 comments
Open

简述你在使用 Upload 时遇到的问题? #2230

Aiooon opened this issue Sep 8, 2022 · 0 comments
Assignees
Labels
4.x bug Something isn't working comp:upload

Comments

@Aiooon
Copy link

Aiooon commented Sep 8, 2022

Upload 组件批量上传问题

onChange 方法的回调,在批量上传文件时(照片墙上传,其他类型没有测试),并没有等所有文件都上传完成后再调用回调方法。
比如在批量上传四张图片时,只有三张完成了上传(有 response)就调用了回调,这样会导致拿不到文件上传完成后的远端 url。

image
例如,这里一次上传了四张图片,但是只执行了三次回调。
v3和v4都存在此问题

@zyprepare zyprepare self-assigned this Sep 9, 2022
@zyprepare zyprepare added bug Something isn't working 4.x comp:upload labels Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x bug Something isn't working comp:upload
Projects
None yet
Development

No branches or pull requests

2 participants