Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

关于uploadError回调的reason #3181

Open
YuanDaoDao001 opened this issue Oct 20, 2021 · 0 comments
Open

关于uploadError回调的reason #3181

YuanDaoDao001 opened this issue Oct 20, 2021 · 0 comments

Comments

@YuanDaoDao001
Copy link

官方文档里uploadError回调返回的reason参数,只有http、server之类的信息,这个信息是根据http code进行分类的
image
看源码
image

在issue里可以看到,已经有人添加了http code返回并且merge了代码,但是回调reason参数里并没有,翻源码发现,回调参数变多了,但是文档没有更新
image

type 对应文档的reason,status是http code,statusText 是OK这些

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

1 participant