You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.
bug 描述
渲染一个可以排序的列表,每个列表相中渲染了该列表项的序号,更改排序号以后,某些列表项上的序号没有更新。
如某一项现在排在第二位,它渲染的序号为
2
,将它移动到第三位之后,它的序号应该为3
,但是有时候仍然显示2
.大概的代码如下所示:
目前大概试了一下:
这个现象仅用remax打包成微信小程序的时候可以出现,remax打包成淘宝小程序不会出现。
使用微信小程序原生开发同样内容也不会出现.
使用纯React进行web开发同样内容也不会出现。
复现步骤
参照上述代码,或使用该案例仓库,运行后打开首页可以测试效果。
期望结果
序号总是能正常更新
复现代码
案例仓库
版本信息:
其他信息
![remax](https://user-images.githubusercontent.com/12799388/98797509-9ff76280-2447-11eb-94cf-883877c13c2b.png)
![react](https://user-images.githubusercontent.com/12799388/98797548-ae457e80-2447-11eb-94ab-0b965aeef0e7.png)
异常情况:
正常情况
The text was updated successfully, but these errors were encountered: