-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
vite打包: uni-app@2 和 @3 版本中的 uni.request 返回类型不一致? #3076
Comments
或者我提个 pr ,把成功回调和失败回调的类型导出,我在业务代码里面修改 |
目前还未调整 promise 返回值,稍后提供支持 |
好的 👌 |
对的,onLoad 的 hook 缺少参数 |
fxy060608
added a commit
that referenced
this issue
Dec 16, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
uni-app@2 的 uni.request 有返回 error ,类型 [error, data] = await uni.request ,uni-app@3 不再返回 error 嘛 ?
类型声明文件并未体现这一改动,请问类似的这种改动,应该在哪里看呀?
还有就是想问 uni.request 代码在哪个文件中啊,没有找到
The text was updated successfully, but these errors were encountered: