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

[Feature Request] 请问浏览器兼容情况有数据吗? #47

Open
Onesimu opened this issue Apr 13, 2023 · 2 comments
Open

[Feature Request] 请问浏览器兼容情况有数据吗? #47

Onesimu opened this issue Apr 13, 2023 · 2 comments

Comments

@Onesimu
Copy link

Onesimu commented Apr 13, 2023

你在什么情况下,需要这个功能解决什么问题?

生产环境需要兼容Chrome 49 以上浏览器.

你期望的 API 是什么样子的?

希望文档中能给出兼容的浏览器数据.

@JOU-amjs
Copy link
Contributor

JOU-amjs commented Apr 27, 2023

抱歉,那么久才过来回复你。
浏览器的兼容数据目前还没有,如果你需要支持Chrome49,建议可以在编译时将代码编译为ES5,这样应该是可以兼容的,同时可以使用XMLHttpRequest作为请求适配器。

@kenixFog
Copy link

kenixFog commented Jun 25, 2023

最近也遇到版本兼容性问题,毋容置疑,低版本浏览器,首先,唯一的选择XMLHttpRequest,其次,webpack也好,cli也好,vite也好等等,都需要做兼容性处理~
浏览器版本chrome 58,目前基础功能可以用,其它的没做过多的尝试

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

No branches or pull requests

3 participants