解决页码无显示
This commit is contained in:
parent
51ba5ef90d
commit
4360642702
|
@ -136,7 +136,10 @@ import _ from "lodash";
|
|||
componentWillMount(){
|
||||
}
|
||||
componentWillReceiveProps(nextProps) {
|
||||
this.setState({page: nextProps.page});
|
||||
|
||||
if(nextProps.page){
|
||||
this.setState({page: nextProps.page});
|
||||
}
|
||||
}
|
||||
|
||||
render() {
|
||||
|
|
Loading…
Reference in New Issue