List组件提示可以使用"wx:key"来提高性能。
Closed this issue · 2 comments
zhuowenli commented
Now you can provide attr "wx:key" for a "wx:for" to improve performance.
13 | <text class="title-text list-title-title-text" catchtap="_dispatch" style="color:{{list.title.color}};" data-catchtap="handleTap" data-path="list.title">{{list.title.text}}</text>
14 | </view>
> 15 | <block wx:for="{{list.listItems}}" wx:for-index="_index_3" wx:for-item="_item_4"><view class="item list-listItems-item {{_item_4.cls}} list-listItems-{{_item_4.cls}}">
| ^
jiabinxu commented
liangxingchen commented
最新版本已经解决