feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等
This commit is contained in:
@@ -198,24 +198,28 @@ const SettingsWeyAiReleaseNotes = () => {
|
||||
width: 240,
|
||||
render: (_, note) => (
|
||||
<Space>
|
||||
<Button size='small' onClick={() => setDraft({ ...note })}>
|
||||
<Button
|
||||
onClick={() => setDraft({ ...note })}
|
||||
type='link'
|
||||
size='small'
|
||||
>
|
||||
{t('编辑')}
|
||||
</Button>
|
||||
{note.status === 'published' ? (
|
||||
<Button
|
||||
size='small'
|
||||
type='warning'
|
||||
loading={busyId === note.id}
|
||||
onClick={() => setStatus(note, 'draft')}
|
||||
type='link'
|
||||
size='small'
|
||||
>
|
||||
{t('撤回')}
|
||||
</Button>
|
||||
) : (
|
||||
<Button
|
||||
size='small'
|
||||
theme='solid'
|
||||
loading={busyId === note.id}
|
||||
onClick={() => setStatus(note, 'published')}
|
||||
type='link'
|
||||
size='small'
|
||||
>
|
||||
{t('发布')}
|
||||
</Button>
|
||||
@@ -225,7 +229,12 @@ const SettingsWeyAiReleaseNotes = () => {
|
||||
content={t('删除后客户端不再显示这个版本的说明')}
|
||||
onConfirm={() => remove(note)}
|
||||
>
|
||||
<Button size='small' type='danger' disabled={busyId === note.id}>
|
||||
<Button
|
||||
disabled={busyId === note.id}
|
||||
type='link'
|
||||
size='small'
|
||||
danger
|
||||
>
|
||||
{t('删除')}
|
||||
</Button>
|
||||
</Popconfirm>
|
||||
|
||||
Reference in New Issue
Block a user