网络较慢时报Cannot read property 'Q' of null,自定义DOM组件不显示
Open
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 148
- PR merge metrics
- No merged PRs in 30d
Description
我只使用了自定义DOM组件,类似官网(代码如下)
```
render(){
return
A Custom Layer
Current Center Is: {this.state.center}
Another Custom Layer
{alert('You Clicked!')}}>An Ant Design Button
}
```
当网络较慢且第一次加载时,有大概率报`Cannot read property 'Q' of null`,然后地图会继续慢慢加载出来,但是自定义的DOM组件不会跟着出现。
Chrome的network设置成Slow 3G可能会复现,如有翻墙工具,开全局翻墙基本能够复现
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.