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

Taro 3.0.21 marker快速更改多次 map组件未正常渲染出组件上的marker数据 而是将快速更改的全部marker渲染在页面上 #8352

Open
lupingW opened this issue Dec 23, 2020 · 2 comments
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x

Comments

@lupingW
Copy link

lupingW commented Dec 23, 2020

相关平台

微信小程序

复现仓库

https://gitee.com/wangluping/taro3021marker-rendering-error.git
小程序基础库: 开发者工具没问题 ios复现很少 安卓必现
使用框架: React

复现步骤

不断移动地图,会导致短时间多次setState去更改state中的markers, 安卓手机上会出现本次和之前的所有marker.

期望结果

出现最后一次setState的marker

实际结果

把多次setState的marker都渲染在地图上

环境信息

Taro v3.0.21


  Taro CLI 3.0.21 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 12.18.3 - E:\node\node.EXE
      npm: 6.14.6 - E:\node\npm.CMD
@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Dec 23, 2020
@lupingW
Copy link
Author

lupingW commented Dec 25, 2020

京东大佬何在

@lupingW
Copy link
Author

lupingW commented Jan 4, 2021

什么时间能修复呀?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
None yet
Development

No branches or pull requests

1 participant