mirror of
https://github.com/zuiidea/antd-admin
synced 2026-10-22 16:03:53 +00:00
table
This commit is contained in:
@@ -11,4 +11,7 @@
|
||||
overflow: auto;
|
||||
}
|
||||
}
|
||||
.ant-pagination-item{
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,14 +73,16 @@ function list({
|
||||
|
||||
return (
|
||||
<div>
|
||||
<Table size="small"
|
||||
<Table
|
||||
className={styles.table}
|
||||
bordered
|
||||
scroll={{ x: 1200 }}
|
||||
columns={columns}
|
||||
dataSource={dataSource}
|
||||
loading={loading}
|
||||
onChange={onPageChange}
|
||||
pagination={pagination}
|
||||
simple
|
||||
rowKey={record => record.id}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -17,7 +17,6 @@ export default {
|
||||
showTotal: total => `共 ${total} 条`,
|
||||
current:1,
|
||||
total:null,
|
||||
size:'default'
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user