import React, { Component } from 'react'; import './index.less'; import Icon from '../Icon'; import Select from '../Select'; export default class extends Component { onChangePage(page) { const { total, pageSize, onChange } = this.props; const all = Math.ceil(total / pageSize); if (page <= 0 || page > all) return; if (onChange) onChange(page); } render() { const { current, total, pageSize, jump } = this.props; const all = Math.ceil(total / pageSize); return (