feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等
This commit is contained in:
@@ -34,7 +34,7 @@ import {
|
||||
Tag,
|
||||
Typography,
|
||||
} from '@/components/ui';
|
||||
import { IconDelete, IconEdit, IconPlus } from '@/components/ui/icons';
|
||||
import { IconDelete, IconPlus } from '@/components/ui/icons';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { API, showError, showSuccess } from '../../../helpers';
|
||||
|
||||
@@ -356,23 +356,20 @@ export default function SettingImagePricing({ options, refresh }) {
|
||||
render: (_text, record, index) => (
|
||||
<Space>
|
||||
<Button
|
||||
icon={<IconEdit />}
|
||||
size='small'
|
||||
theme='borderless'
|
||||
aria-label={t('编辑')}
|
||||
onClick={() => openEdit(record, index)}
|
||||
/>
|
||||
type='link'
|
||||
size='small'
|
||||
>
|
||||
{t('编辑')}
|
||||
</Button>
|
||||
<Popconfirm
|
||||
title={t('确定删除此图片定价配置吗?')}
|
||||
onConfirm={() => remove(index)}
|
||||
>
|
||||
<Button
|
||||
icon={<IconDelete />}
|
||||
size='small'
|
||||
type='danger'
|
||||
theme='borderless'
|
||||
aria-label={t('删除')}
|
||||
/>
|
||||
<Button aria-label={t('删除')} type='link' size='small' danger>
|
||||
{t('删除')}
|
||||
</Button>
|
||||
</Popconfirm>
|
||||
</Space>
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user