Commit 394b0abc by CaIon

修复渠道页面出现多个分页组件的bug

parent 294dc8d8
...@@ -483,16 +483,6 @@ const ChannelsTable = () => { ...@@ -483,16 +483,6 @@ const ChannelsTable = () => {
> >
测试 测试
</Button> </Button>
{/*<Button*/}
{/* size={'small'}*/}
{/* positive*/}
{/* loading={updatingBalance}*/}
{/* onClick={() => {*/}
{/* updateChannelBalance(channel.id, channel.name, idx);*/}
{/* }}*/}
{/*>*/}
{/* 更新余额*/}
{/*</Button>*/}
<Popup <Popup
trigger={ trigger={
<Button size='small' negative> <Button size='small' negative>
...@@ -580,17 +570,6 @@ const ChannelsTable = () => { ...@@ -580,17 +570,6 @@ const ChannelsTable = () => {
确认删除 确认删除
</Button> </Button>
</Popup> </Popup>
<Pagination
floated='right'
activePage={activePage}
onPageChange={onPaginationChange}
size='small'
siblingRange={1}
totalPages={
Math.ceil(channels.length / ITEMS_PER_PAGE) +
(channels.length % ITEMS_PER_PAGE === 0 ? 1 : 0)
}
/>
<Button size='small' onClick={refresh} loading={loading}>刷新</Button> <Button size='small' onClick={refresh} loading={loading}>刷新</Button>
</Table.HeaderCell> </Table.HeaderCell>
......
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 sign in to comment