|
|
|
@ -55,7 +55,7 @@ class PollDetailTabSecond extends Component{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
render(){
|
|
|
|
|
let{page,limit,questions,question_types}=this.state;
|
|
|
|
|
let {page, limit, questions, questionsInfo} = this.state;
|
|
|
|
|
return(
|
|
|
|
|
<div>
|
|
|
|
|
{
|
|
|
|
@ -160,9 +160,10 @@ class PollDetailTabSecond extends Component{
|
|
|
|
|
}):<NoneData></NoneData>
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
question_types && question_types.q_counts>limit &&
|
|
|
|
|
questionsInfo && questionsInfo.q_counts > limit &&
|
|
|
|
|
<div className="edu-txt-center mt20 mb50">
|
|
|
|
|
<Pagination showQuickJumper current={page} total={question_types.q_counts} pageSize={limit} onChange={this.changePage}></Pagination>
|
|
|
|
|
<Pagination showQuickJumper current={page} total={questionsInfo.q_counts} pageSize={limit}
|
|
|
|
|
onChange={this.changePage}></Pagination>
|
|
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|