微信小程序for循环报错

时间:2021-04-01

wx:key="{{item.value}}" does not look like a valid key name (did you mean wx:key="value" ?

解决办法

<label class="weui-cell weui-check__label" wx:for="{{items}}" wx:key="index">