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

上传回调无效,不走 #65

Open
MRGAN-J opened this issue Aug 30, 2019 · 1 comment
Open

上传回调无效,不走 #65

MRGAN-J opened this issue Aug 30, 2019 · 1 comment

Comments

@MRGAN-J
Copy link

MRGAN-J commented Aug 30, 2019

const downloadProgress = p => console.log(p.currentSize / p.totalSize);
AliyuOSS.addEventListener('uploadProgress', downloadProgress);

不走downloadProgress回调

@RenderCoder
Copy link

看下 AliyunOSS.asyncUpload 方法是不是走了 catch,上传报错了的话是不会走这个回调的。

还有明明是个上传方法 uploadProgress 文档竟然写的是 downloadProgress...

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