- 为什么报错信息上传后的文件路径会多出很多奇怪的路径,有些有有些没?好奇怪
不正常的 [图片]
2022-10-27 - PickerView再数组越界时不支持同时修改value和range吗
<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] })
2020-10-24