uniapp 下拉选择器picker
<picker mode="selector" :range="options" @change="onPickerChange">
<div style="border: 1px solid #ccc;">选择品牌</div>
</picker>
let options = reactive(['选项1', '选项2', '选项3', '选项4']);
const onPickerChange = (e) => {
const index = e.detail.value;
console.log('index',index);
}