Skip to content

🐛 [BUG] Choropleth多次调用update去更新label中的field属性,会失效 #280

@aimerthyr

Description

@aimerthyr

🐛 Bug description [Please make everyone to understand it]

初始化进来去切换数据区域这个checkbox,是可以实现显示或关闭数据区域的label的,但是一旦我切换过全部区域这个checkbox之后,我再去切换数据区域这个checkbox就会失效了,感觉像是在调用update方法后,依然保留了上一次的结果,我的代码逻辑时没有问题的。

Please provide a link by forking these links L7Plot or GitHub repo, a minimal reproduction.

复现链接

  • Required Link to minimal reproduction:

📷 Step to reproduce

2023-03-14.13.34.44.mov

大佬短暂的看过一眼,这里是记录,辅助一下
image

🏞 Expected result

🚑 Any additional [like screenshots]

  • L7Plot Version: 0.5.1
  • Platform: masos

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions