在Picker中如何使用对象数组

发布于 8 年前作者 yduan7729 次浏览最后编辑 8 年前来自 ask

<picker bindchange=“statusChange” range=“{{deviceStatus}}”  range-key=“value”>

<view class=“picker”>

当前选择:{{deviceStatus[index].label}}

</view>

</picker>

0 回复
暂无回复