RexYao

Results 4 comments of RexYao

``` javascript var numberArray = [1, 2, 3, 5, 7, 8, 10]; function handle(numberArr) { var arr = []; for (var i in numberArr) { arr.push({number:numberArr[i],index:numberArr[i] - parseInt(i)}); } //...

这个功能有个问题,如果filter和map指定刚好重复的话会返回异常的值 例子 ```javascript ``` 在`50-100`的值为`0`,但是最终渲染的会是`50`,因为map也指定了`0`的映射值 源码问题在这 ```javascript export function parseValues() { if (filter.values.length > 0 && !filter.values.includes(value)) { if (filter.mode === 'smooth') { let region = calcKeyFrameRegion(mapping, value); if (region.length)...

i meet same problem too.Finally, i use Cell instand of Item to render.you can link to [here](https://www.jianshu.com/p/a5996a57eb4b) get more detail. simple code ```javascript import TableView from 'react-native-tableview'; const { Section,...

ES6 文档阅读 ![gh_7b306f5c884a_344](https://user-images.githubusercontent.com/33365722/164738783-0d8cea59-e61d-411b-9463-b7f2447f44da.jpg)