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

为Taro.uploadFile添加请求成功的回调 #1953

Closed
wants to merge 1 commit into from

Conversation

wids1356
Copy link
Contributor

ts中,当使用Taro.uploadFile时,指定Task的progress后,由于Param中缺少success的定义,使得出现编译错误
如果使用Promise的话则无法获得上传进度,为了解决报错在Param中增加success回调的定义

ts中,当使用Taro.uploadFile时,指定Task的progress后,由于Param中缺少success的定义,使得出现编译错误
如果使用Promise的话则无法获得上传进度,为了解决报错在Param中增加success回调的定义
@yuche
Copy link
Contributor

yuche commented Jan 18, 2019

把 failed, complete 什么的一起补上咯

@luckyadam
Copy link
Member

已经加过了

@luckyadam luckyadam closed this Jul 1, 2019
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

Successfully merging this pull request may close these issues.

3 participants