Radio样例中出错,应该是不支持点击吧?
Rayliwang opened this issue · 2 comments
Rayliwang commented
代码定位: /pages/component /pages/radio/radio.js
<View>
<View className="radio-list">
<RadioGroup>
{this.state.list.map((item, i) => {
return (
<Label className="radio-list__label" for={i} key={i}>
<Radio className="radio-list__radio" value={item.value} checked={item.checked}>{item.text}</Radio>
</Label>
)
})}
</RadioGroup>
</View>
</View>
错误
index.js?5ae2:5517 Uncaught TypeError: onChange is not a function
at RadioGroup.toggleChange (index.js?5ae2:5517)
at RadioGroup.onChange (index.js?5ae2:5572)
at dispatchEvent (index.js?4acb:498)
at HTMLDocument.eventHandler (index.js?4acb:536)
jinjinjin0731 commented
感谢反馈~ 排查到原因了~ 待会就修复了哈~
jinjinjin0731 commented
已修复,等待新版本发出更新下依赖~