L7Plot
L7Plot copied to clipboard
🐛 [BUG] 更新后区域填充图出现 Cannot read properties of undefined (reading 'mapService')
近期更新最新版后,会出现
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'mapService')
🐛 Bug description [Please make everyone to understand it]
Please provide a link by forking these links L7Plot or GitHub repo, a minimal reproduction.
- Required Link to minimal reproduction:
📷 Step to reproduce
区域填充demo图可复现
🏞 Expected result
处理此控制台报错。
🚑 Any additional [like screenshots]
- L7Plot Version:
- 最新版
- Platform:
- mac m1 13.5.2 (22G91)
又是kpi项目
升级最新版本 L7,应该没有这个问题了
更新到2.22.0了,还是有。
我这边看没有报错
- https://codesandbox.io/s/snowy-surf-3mmzqc?file=/index.ts
官网目前有报错,还没有部署最新版本,且这个报错是一个初始化属性访问问题,不影响功能。
升级最新版,没问题了。如果用了umi,记得删除.umi文件夹。有可能有缓存问题。