refactor: remove useless button (close #1014)

This commit is contained in:
JustSong 2024-02-18 22:21:37 +08:00
parent d0e415893b
commit 2a5468e23c
2 changed files with 5 additions and 5 deletions

View File

@ -227,9 +227,9 @@ export default function ChannelPage() {
<Button onClick={testAllChannels} startIcon={<IconBrandSpeedtest width={'18px'} />}> <Button onClick={testAllChannels} startIcon={<IconBrandSpeedtest width={'18px'} />}>
测试启用渠道 测试启用渠道
</Button> </Button>
<Button onClick={updateAllChannelsBalance} startIcon={<IconCoinYuan width={'18px'} />}> {/*<Button onClick={updateAllChannelsBalance} startIcon={<IconCoinYuan width={'18px'} />}>*/}
更新启用余额 {/* 更新启用余额*/}
</Button> {/*</Button>*/}
<Button onClick={deleteAllDisabledChannels} startIcon={<IconHttpDelete width={'18px'} />}> <Button onClick={deleteAllDisabledChannels} startIcon={<IconHttpDelete width={'18px'} />}>
删除禁用渠道 删除禁用渠道
</Button> </Button>

View File

@ -522,8 +522,8 @@ const ChannelsTable = () => {
<Button size='small' loading={loading} onClick={testAllChannels}> <Button size='small' loading={loading} onClick={testAllChannels}>
测试所有渠道 测试所有渠道
</Button> </Button>
<Button size='small' onClick={updateAllChannelsBalance} {/*<Button size='small' onClick={updateAllChannelsBalance}*/}
loading={loading || updatingBalance}>更新已启用渠道余额</Button> {/* loading={loading || updatingBalance}>更新已启用渠道余额</Button>*/}
<Popup <Popup
trigger={ trigger={
<Button size='small' loading={loading}> <Button size='small' loading={loading}>