We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
微信小程序
小程序基础库: 2.13.1 使用框架: React
<PickerView className='pk-picker__view' indicator-class='pk-picker__current' onChange={e => { if (onColumnChange) { onColumnChange(e.detail.value); } }} value={value} > <PickerViewColumn> {range.map((item, idx) => ( <View key={`${idx}${item}`} className='pk-picker__item'> {typeof item === 'function' ? item() : rangeKey ? item[rangeKey] : item} </View> ))} </PickerViewColumn> </PickerView> //初始值 this.state = { range: [1, 2, 3], val: [1], } this.setState({ range: [1, 2, 3, 4] val: [3] })
OS: mac os Binaries: Node: 12.16.3 Yarn: 1.12.3 npm: 5.6.0
--- ### 补充信息 数组越界下会发生 <!-- generated by taro-issues. 请勿修改或删除此行注释 --><!--labels=T-weapp,V-3,F-react-->
The text was updated successfully, but these errors were encountered:
"@tarojs/taro": "3.0.17", PickerView Demo(react) 无法显示https://nervjs.github.io/taro/docs/components/forms/picker-view/
问题已hack,但确实存在,你这demo没什么用的,三个数组并不互相关联,没参考性
Sorry, something went wrong.
No branches or pull requests
相关平台
微信小程序
小程序基础库: 2.13.1
使用框架: React
复现步骤
The text was updated successfully, but these errors were encountered: