社保福利档案表格分页的bug

This commit is contained in:
liyongshun 2022-07-04 13:56:15 +08:00
parent f32848121c
commit c2757fd1f4
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,6 @@
import React from "react";
import { inject, observer } from "mobx-react";
import { toJS } from "mobx";
import {
Button,
Table,
@ -517,8 +516,9 @@ export default class Programme extends React.Component {
loading={loading}
columns={this.getColumns(tableColumns)}
dataSource={tableDataSource}
total={tablePageInfo.total}
current={tablePageInfo.pageNum}
total={toJS(tablePageInfo).total}
current={toJS(tablePageInfo).pageNum}
pageSize={this.pageInfo.pageSize}
onPageChange={value => {
this.handlePageChange(value);
}}