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

fix: 修复 node 判断 #5638

Closed
wants to merge 1 commit into from
Closed

Conversation

crazyair
Copy link

@crazyair crazyair commented Aug 10, 2023

解决微信浏览器报错Cannot set property navigator of #<Window> which has only a getter
复现方法:react 项目 global 为 object,可以使用 create-react-app 或者 umi 初始化项目,打印 typeof global。

@wf863409877
Copy link

wf863409877 commented Aug 15, 2023

已知新版PC环境的微信 Version. 3.8.2 (27306) 内置浏览器,会出现此bug。导致页面崩溃。
这个修复对项目的重要性还是很高的。较影响用户体验与项目的整体功能。
期望大佬能百忙之中抽空审查,感谢~

@crazyair crazyair closed this May 17, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants