uniapp 使用 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 裏面的值需要是變量,或者加上單引號。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章