L7Plot icon indicating copy to clipboard operation
L7Plot copied to clipboard

🐛 [BUG] 更新后区域填充图出现 Cannot read properties of undefined (reading 'mapService')

Open hastings0714 opened this issue 1 year ago • 4 comments

近期更新最新版后,会出现 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

image 区域填充demo图可复现

🏞 Expected result

处理此控制台报错。

🚑 Any additional [like screenshots]

  • L7Plot Version:
  • 最新版
  • Platform:
  • mac m1 13.5.2 (22G91)

hastings0714 avatar Apr 24 '24 11:04 hastings0714

又是kpi项目

hinadong avatar May 16 '24 01:05 hinadong

升级最新版本 L7,应该没有这个问题了

lvisei avatar Jun 12 '24 02:06 lvisei

image 更新到2.22.0了,还是有。

hastings0714 avatar Jun 26 '24 04:06 hastings0714

我这边看没有报错

  • https://codesandbox.io/s/snowy-surf-3mmzqc?file=/index.ts

官网目前有报错,还没有部署最新版本,且这个报错是一个初始化属性访问问题,不影响功能。

lvisei avatar Jun 26 '24 06:06 lvisei

升级最新版,没问题了。如果用了umi,记得删除.umi文件夹。有可能有缓存问题。

hastings0714 avatar Aug 12 '24 03:08 hastings0714