|
@@ -224,7 +224,6 @@ function DiagManager() {
|
|
|
<Table
|
|
|
/*rowSelection={{ type: 'checkbox', ...rowSelection, }}*/
|
|
|
columns={columns}
|
|
|
- scroll={{ y: 'calc(100vh - 350px)' }}
|
|
|
dataSource={DiagList}
|
|
|
rowKey={record => record.id}
|
|
|
pagination={{
|
|
@@ -236,7 +235,8 @@ function DiagManager() {
|
|
|
showTotal: (total, range) => `第${range[0]}-${range[1]} 条/共 ${total} 条数据`,
|
|
|
onShowSizeChange: (current, pageSize) => onSizeChange(current, pageSize), // 改变每页数量时更新显示
|
|
|
onChange: (page, pageSize) => changePage(page, pageSize),//点击页码事件
|
|
|
- total: total
|
|
|
+ total: total,
|
|
|
+ showQuickJumper:true,
|
|
|
}} />
|
|
|
</div>
|
|
|
<DiagContext.Provider value={{ formData }}>
|