组件之间如何联动button绑定事件执行完如何触发picker点击事件
组件之间如何联动button绑定事件执行完如何触发picker点击事件
比如查询按钮点击后返回building数组,如何让选择框自动弹出?
<view class=“weui-cell__ft”>
<view class=“weui-vcode-btn” bindtap=“queryBuilding”>查询</view>
</view>
</view>
<view class=“section-con lp”>
<picker bindchange=“bindBuildingPickerChange” value="{{buildingindex}}" range="{{building}}">
<view class=“picker”>
{{building[buildingindex]}}
</view>
</picker>
</view>