小程序 输出警告

文章目录
  1. 1. 解决方法

小程序 输出警告 Now you can provide attr wx:key for a wx:for to improve performance

image.png

解决方法

1
2
<view class='physiology' wx:for='{{messageList}}' wx:key="key" wx:for-item="items" wx:for-key="index">
</view>
评论