小程序在表单填写的时候会出现闪退,代码片段如下,类似很多如下的表单,请帮忙查看闪退原因,感谢
<View className='picker_view'>
<Text className='picker_text'>*</Text>
<Picker className='picker' mode='selector' range={this.state.emergencycontactChecked} onChange={this.emergencycontactOnChange}>
<AtList>
<AtListItem
title='紧急联络人'
extraText={this.state.emergencycontact}
/>
</AtList>
</Picker>
</View>
<AtInput
required
className='form-input'
name='parentname'
title='父母姓名'
type='text'
placeholder='请输入父母姓名'
value={this.state.parentname}
onChange={this.parentNameChange.bind(this)}
/>
<AtInput
required
className='form-input'
name='parentphone'
title='父母电话'
type='phone'
placeholder='请输入父母电话'
value={this.state.parentphone}
onChange={this.parentPhoneChange.bind(this)}
/>
你好,这个问题有解决么