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