|
@@ -6,6 +6,7 @@ import { useState } from 'react'
|
|
|
import { useDispatch } from 'umi'
|
|
import { useDispatch } from 'umi'
|
|
|
import { Table } from '@arco-design/web-react'
|
|
import { Table } from '@arco-design/web-react'
|
|
|
import '@arco-design/web-react/dist/css/arco.css'
|
|
import '@arco-design/web-react/dist/css/arco.css'
|
|
|
|
|
+import styles from './index.less'
|
|
|
|
|
|
|
|
const SyncClient = ({ customer, client }) => {
|
|
const SyncClient = ({ customer, client }) => {
|
|
|
const dispatch = useDispatch()
|
|
const dispatch = useDispatch()
|
|
@@ -160,17 +161,19 @@ const SyncClient = ({ customer, client }) => {
|
|
|
</div>
|
|
</div>
|
|
|
</Checkbox.Group>
|
|
</Checkbox.Group>
|
|
|
</div>
|
|
</div>
|
|
|
- <Table
|
|
|
|
|
- virtualized
|
|
|
|
|
- scroll={{ y: 400 }}
|
|
|
|
|
- border={false}
|
|
|
|
|
- columns={columns}
|
|
|
|
|
- data={client}
|
|
|
|
|
- pagination={false}
|
|
|
|
|
- rowSelection={{
|
|
|
|
|
- onChange: selectedRowKeys => setState({ ...state, selectedKeys: selectedRowKeys })
|
|
|
|
|
- }}
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ <div className={styles.tableCont}>
|
|
|
|
|
+ <Table
|
|
|
|
|
+ virtualized
|
|
|
|
|
+ scroll={{ y: 400 }}
|
|
|
|
|
+ border={false}
|
|
|
|
|
+ columns={columns}
|
|
|
|
|
+ data={client}
|
|
|
|
|
+ pagination={false}
|
|
|
|
|
+ rowSelection={{
|
|
|
|
|
+ onChange: selectedRowKeys => setState({ ...state, selectedKeys: selectedRowKeys })
|
|
|
|
|
+ }}
|
|
|
|
|
+ />
|
|
|
|
|
+ </div>
|
|
|
{/* <Table
|
|
{/* <Table
|
|
|
rowKey="id"
|
|
rowKey="id"
|
|
|
size="small"
|
|
size="small"
|