Commit f0a14dfc authored by 满振华's avatar 满振华

修改列表页

parent 88ed98c5
...@@ -40,7 +40,7 @@ const CustomTable = (props: CustomTableProps) => { ...@@ -40,7 +40,7 @@ const CustomTable = (props: CustomTableProps) => {
<ConfigProvider renderEmpty={RenderEmpty}> <ConfigProvider renderEmpty={RenderEmpty}>
<Table {...others} dataSource={dataSource} pagination={false} /> <Table {...others} dataSource={dataSource} pagination={false} />
{pagination.total > 20 ? <SelfPagination {...paginationCof} {...pagination} /> : null}; {pagination.total > 20 ? <SelfPagination {...paginationCof} {...pagination} /> : null}
</ConfigProvider> </ConfigProvider>
) )
......
...@@ -12,7 +12,10 @@ import './style.less'; ...@@ -12,7 +12,10 @@ import './style.less';
const BIPagination = (props: any) => { const BIPagination = (props: any) => {
return ( return (
<Pagination {...props} /> <div style={{ textAlign: 'right', paddingTop: '16px' }}>
<Pagination {...props} />
</div>
); );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment