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

AtCalendar H5环境运行错乱 #853

Closed
htank-wang opened this issue Nov 12, 2019 · 4 comments
Closed

AtCalendar H5环境运行错乱 #853

htank-wang opened this issue Nov 12, 2019 · 4 comments
Assignees
Labels
bug Something isn't working 高阶组件

Comments

@htank-wang
Copy link

问题描述
image

复现步骤
直接使用,然后随便切换月份或年份就出现以上问提

    <View>
            <AtCalendar />
     </View>

期望行为
如何修复

报错信息

系统信息

image

补充信息

@taro-ui-bot
Copy link

taro-ui-bot bot commented Nov 12, 2019

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@htank-wang
Copy link
Author

实测2.2.0版本不会有这个问题,已降级。

@Bruce-zxy
Copy link

#890 提出的是同一个问题

@Garfield550 Garfield550 added bug Something isn't working 高阶组件 labels Dec 15, 2019
@taro-ui-bot
Copy link

taro-ui-bot bot commented Dec 15, 2019

CC @SzHeJason

@Garfield550
Copy link
Collaborator

Garfield550 commented Feb 27, 2020

@Bruce-zxy @htank-wang 问题是出在 Key 上,不过是我之前为了修循环 key 反优化修出来的问题,我把 key 改成了 key={item.text} 导致了很多 key 重复的问题,更新列表可能出现了 bug。

{list.map((item) => (
<View
key={item.text}

详细的 v2.2.2 与 master 版本的比较:v2.2.2...master

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 高阶组件
Projects
None yet
Development

No branches or pull requests

4 participants