示例代码是这样的
<view class="cu-form-group margin-top">
<view class="title">普通选择</view>
<picker bindchange="PickerChange" value="{{index}}" range="{{picker}}">
<view class="picker">
{{picker[index]}}
</view>
</picker>
</view>
因为业务需求,需要动态取
不循环的情况下是可以正常显示点击回绑
,然后我加了两个嵌套循环,就不能正常点击回绑了
<block wx:for="{{messageCenterList}}" wx:key>
<block wx:if="{{isnew==0}}">
<view class="cu-form-group" wx:if="{{item.formType=='select'}}">
<view class="cu-form-group margin-top">
<view class="title">普通选择</view>
<picker bindchange="PickerChange" value="{{index}}" range="{{picker}}">
<view class="picker">
{{picker[index]}}
</view>
</picker>
</view>
</block>
</block>
为什么picker写里面