<picker @change="bindPickerChange" :range-key="'ProductType'" mode="selector" :value="index" :range="productTypeArray">
<view class="uni-input">{{productTypeArray[index].ProductType}}</view>
</picker>
range-key
裏面的值需要是變量,或者加上單引號。
<picker @change="bindPickerChange" :range-key="'ProductType'" mode="selector" :value="index" :range="productTypeArray">
<view class="uni-input">{{productTypeArray[index].ProductType}}</view>
</picker>
range-key
裏面的值需要是變量,或者加上單引號。
一. 二. 三. ! 作 者 : Yaopengfei(姚鵬飛) 博客地址 : http://www.cnblogs.com