tdesign-miniprogram icon indicating copy to clipboard operation
tdesign-miniprogram copied to clipboard

[SwipeCell] 在列表中opened 无法跟随列表变化

Open eritpchy opened this issue 1 year ago • 2 comments

tdesign-miniprogram 版本

1.2.6

重现链接

No response

重现步骤

由于SwipeCell都是针对item的操作, 所以很需要这个功能. 假如我有个list页面 list = [ SwipeCell(), SwipeCell(), SwipeCell(), SwipeCell(), SwipeCell(), SwipeCell(), SwipeCell(), ] 当我左滑打开list[1] 时, 此时再在list头部插入一个新的SwipeCell() 会导致用户打开的SwipeCell并不是实际他需要的那一项, 显示打开的的还是list[1] ,实际上应该变成list[2]了

期望结果

增加 open, close status event 让开发者自行处理 或者 增加列表绑定

实际结果

No response

基础库版本

2.25.4

补充说明

No response

eritpchy avatar Jan 11 '24 08:01 eritpchy