|
@@ -1,5 +1,5 @@
|
1
|
1
|
import React, { useState, useEffect } from 'react';
|
2
|
|
-import { Form, Table } from 'antd';
|
|
2
|
+import { Form, Table, Pagination } from 'antd';
|
3
|
3
|
import { FormattedMessage } from 'umi-plugin-react/locale';
|
4
|
4
|
import styles from './style.less';
|
5
|
5
|
import apis from '../../../services/apis';
|
|
@@ -159,7 +159,7 @@ for (let i = 0; i < 100; i++) {
|
159
|
159
|
</div>
|
160
|
160
|
<div className={styles.recordBox}>
|
161
|
161
|
<p className={styles.tableName}>访问记录</p>
|
162
|
|
- <Table dataSource={data.visitRecords} columns={columns} pagination={false} rowKey="customerDetail" onChange={changePageNum}/>
|
|
162
|
+ <Table showQuickJumper defaultCurrent={1} dataSource={data.visitRecords} columns={columns} current={50} />
|
163
|
163
|
</div>
|
164
|
164
|
|
165
|
165
|
</>
|