mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-17 21:53:42 +08:00
chore: 优化渠道界面样式问题
This commit is contained in:
@@ -631,7 +631,7 @@ const ChannelsTable = () => {
|
|||||||
title="确定?"
|
title="确定?"
|
||||||
okType={'warning'}
|
okType={'warning'}
|
||||||
onConfirm={() => { testChannels("all") }}
|
onConfirm={() => { testChannels("all") }}
|
||||||
position={isMobile() ? 'top' : 'top'}
|
position={isMobile() ? 'top' : 'left'}
|
||||||
>
|
>
|
||||||
<Button theme="light" type="warning" style={{ marginRight: 8 }}>测试所有通道</Button>
|
<Button theme="light" type="warning" style={{ marginRight: 8 }}>测试所有通道</Button>
|
||||||
</Popconfirm>
|
</Popconfirm>
|
||||||
@@ -639,7 +639,7 @@ const ChannelsTable = () => {
|
|||||||
title="确定?"
|
title="确定?"
|
||||||
okType={'warning'}
|
okType={'warning'}
|
||||||
onConfirm={() => { testChannels("disabled") }}
|
onConfirm={() => { testChannels("disabled") }}
|
||||||
position={isMobile() ? 'top' : 'top'}
|
position={isMobile() ? 'top' : 'left'}
|
||||||
>
|
>
|
||||||
<Button theme="light" type="warning" style={{ marginRight: 8 }}>测试禁用渠道</Button>
|
<Button theme="light" type="warning" style={{ marginRight: 8 }}>测试禁用渠道</Button>
|
||||||
</Popconfirm>
|
</Popconfirm>
|
||||||
@@ -655,6 +655,7 @@ const ChannelsTable = () => {
|
|||||||
content="此修改将不可逆"
|
content="此修改将不可逆"
|
||||||
okType={'danger'}
|
okType={'danger'}
|
||||||
onConfirm={deleteAllDisabledChannels}
|
onConfirm={deleteAllDisabledChannels}
|
||||||
|
position={isMobile() ? 'top' : 'left'}
|
||||||
>
|
>
|
||||||
<Button theme="light" type="danger" style={{ marginRight: 8 }}>删除禁用通道</Button>
|
<Button theme="light" type="danger" style={{ marginRight: 8 }}>删除禁用通道</Button>
|
||||||
</Popconfirm>
|
</Popconfirm>
|
||||||
|
|||||||
Reference in New Issue
Block a user