We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
当customRequest 是一个async方法时 最好判断返回是不是一个Promise 再执行
The text was updated successfully, but these errors were encountered:
你想要解决什么问题呢?
Sorry, something went wrong.
customRequest={async ()=>{ const res = await fetch(url); ... return { abort(){ ..... } } }}
会报reqs[uid].abort() not a function
因为 async 返回了一个 promise 对象
d1d8d8d
Successfully merging a pull request may close this issue.
当customRequest 是一个async方法时 最好判断返回是不是一个Promise 再执行
The text was updated successfully, but these errors were encountered: