Authored by 陈林

修复砍价第二页不显示的问题。review by 孙凯。

... ... @@ -156,6 +156,11 @@ _renderRow(rowData, sectionID, rowID) {
renderFooter={this._renderFooter}
isOnPullToRefresh={data.isPullToRefresh}
onEndReachedThreshold ={10}
onEndReached={() => {
if (productList.size !== 0) {
this.props.onEndReached && this.props.onEndReached(categoryType);
}
}}
onRefreshData={() => {
this.props.onRefresh && this.props.onRefresh(categoryType);
}}
... ...
... ... @@ -105,7 +105,6 @@ export default class NewArrivalCell extends Component {
if (parseInt(rowData.get('rowType')) === 1) {
return this.renderJumpRow(rowData,index)
} else {
console.log("index = " + index)
return (
<ProductListCell
style={[styles.listContainer, customStyle]}
... ...