picker组件设置默认值为空时
- 当前 Bug 的表现(可附上截图) [图片] - 预期表现 默认第1个选项为空,而不是0 - 复现路径 - 提供一个最简复现 Demo wxml: [代码]<[代码][代码]picker[代码] [代码]bindchange[代码][代码]=[代码][代码]"bindPickerChange"[代码] [代码]range[代码][代码]=[代码][代码]"{{mode}}"[代码] [代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'item'[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'title'[代码][代码]>跟进方式</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'content'[代码][代码]>{{mode[modeIndex]}}</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]picker[代码][代码]>[代码]JS中的data: [代码]data: {[代码] [代码] [代码][代码]mode: [[代码][代码]''[代码][代码], [代码][代码]'微信'[代码][代码], [代码][代码]'电话'[代码][代码], [代码][代码]'短信'[代码][代码], [代码][代码]'来店'[代码][代码], [代码][代码]'上门'[代码][代码]],[代码][代码] [代码][代码]modeIndex: 0,[代码][代码] [代码][代码]},[代码]