hoyong

导航

ReactNative问题: Failed child context type: Invalid child context `virtualizedCell.cellKey` of type `number` supplied(转)

FlatList使用,

解决方法:将_keyExtractor = (item, index) => index转为_keyExtractor = (item, index) => index.toString()

posted on 2019-07-30 15:24  hoyong  阅读(688)  评论(0)    收藏  举报