修复渠道管理无法点击分页的bug

This commit is contained in:
CaIon 2023-12-08 19:39:33 +08:00
parent 9cd3cd3caa
commit 00af47566f

View File

@ -608,8 +608,8 @@ const ChannelsTable = () => {
}, },
onPageChange: handlePageChange, onPageChange: handlePageChange,
}} loading={loading} onRow={handleRow}/> }} loading={loading} onRow={handleRow}/>
<div style={{display: isMobile()?'':'flex', marginTop: isMobile()?0:-45, zIndex: 999, position: 'relative'}}> <div style={{display: isMobile()?'':'flex', marginTop: isMobile()?0:-45, zIndex: 999, position: 'relative', pointerEvents: 'none'}}>
<Space> <Space style={{pointerEvents: 'auto'}}>
<Button theme='light' type='primary' style={{marginRight: 8}} onClick={ <Button theme='light' type='primary' style={{marginRight: 8}} onClick={
() => { () => {
setEditingChannel({ setEditingChannel({
@ -644,6 +644,9 @@ const ChannelsTable = () => {
<Button theme='light' type='primary' style={{marginRight: 8}} onClick={refresh}>刷新</Button> <Button theme='light' type='primary' style={{marginRight: 8}} onClick={refresh}>刷新</Button>
</Space> </Space>
{/*<div style={{width: '100%', pointerEvents: 'none', position: 'absolute'}}>*/}
{/*</div>*/}
</div> </div>
</> </>
); );