import React, { Component } from "react"; import { Spin, Pagination } from "antd"; import Comment from "../../Comment"; import CommentBox from "../CommentBox"; import "./index.css"; import { LIMIT } from "../../constant"; class CommentList extends Component { constructor(props) { super(props); this.state = {}; } componentWillMount() { this.props.app.sGetComment(); } renderPagination() { const { list, total, page, pageType, isNoMoreComment, sGetComment } = this.props.app; if (pageType === "more") { if (!isNoMoreComment && list.length !== total) { return (