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

[Bug report] React 严格模式下 CustomOverlay 消失 #291

Open
lyh543 opened this issue Mar 13, 2023 · 2 comments
Open

[Bug report] React 严格模式下 CustomOverlay 消失 #291

lyh543 opened this issue Mar 13, 2023 · 2 comments

Comments

@lyh543
Copy link

lyh543 commented Mar 13, 2023

codesandbox exmaple

模拟从后端拉取点的坐标以后,添加 CustomOverlay 到地图上的流程。

启用严格模式时,CustomOverlay 会消失。

image

禁用严格模式后正常。

image

@jaywcjlove
Copy link
Member

@lyh543 示例我无法打开

@lyh543
Copy link
Author

lyh543 commented Mar 13, 2023

@jaywcjlove 我这里无痕模式能打开,您如果打不开的话,也可以本地跑一下这个项目

https://github.com/lyh543-bug-reproduce/uiwjs-react-baidu-map-291

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

2 participants