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

版本升级后js报错 undefined is not an object (evaluating 'this.resp.body.getReader') #531

Closed
tangyefei opened this issue Apr 10, 2022 · 2 comments
Labels

Comments

@tangyefei
Copy link

tangyefei commented Apr 10, 2022

版本升级后js报错 undefined is not an object (evaluating 'this.resp.body.getReader')

image

h5运行在应用容器中(钉钉、公司自主开发的App),类型OPTOINS的请求在vConsole中的response表现为上述形式,此前运行良好,新的发版会报错,推测是改版后无法争取处理OPTIONS请求。

@Maizify
Copy link
Collaborator

Maizify commented Apr 11, 2022

感谢反馈。
我推测是 OPTIONS 类型的请求,在某些浏览器或 webview 中,不会返回 response body,所以挂了。
我先对这部分逻辑做个空值保护。

@Maizify Maizify added the Done label Apr 11, 2022
@Maizify
Copy link
Collaborator

Maizify commented Apr 14, 2022

已在3.14.6中发布。

@Maizify Maizify closed this as completed Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants