|
|
@ -60,7 +60,8 @@ class AppList extends React.Component {
|
|
|
|
this.fetchData(0, limit, res => {
|
|
|
|
this.fetchData(0, limit, res => {
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|
apps: res,
|
|
|
|
apps: res,
|
|
|
|
loading: false
|
|
|
|
loading: false,
|
|
|
|
|
|
|
|
hasMore: true
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -139,6 +140,7 @@ class AppList extends React.Component {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<InfiniteScroll
|
|
|
|
<InfiniteScroll
|
|
|
|
|
|
|
|
key={this.props.deviceType}
|
|
|
|
initialLoad={false}
|
|
|
|
initialLoad={false}
|
|
|
|
pageStart={0}
|
|
|
|
pageStart={0}
|
|
|
|
loadMore={this.handleInfiniteOnLoad}
|
|
|
|
loadMore={this.handleInfiniteOnLoad}
|
|
|
|