feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等
This commit is contained in:
@@ -30,7 +30,7 @@ import {
|
||||
Tag,
|
||||
Popconfirm,
|
||||
} from '@/components/ui';
|
||||
import { IconPlus, IconEdit, IconDelete } from '@/components/ui/icons';
|
||||
import { IconPlus } from '@/components/ui/icons';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { API, showError, showSuccess } from '../../helpers';
|
||||
|
||||
@@ -119,18 +119,14 @@ const AmountOptionsManager = ({
|
||||
title: t('操作'),
|
||||
render: (text, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
size='small'
|
||||
icon={<IconEdit />}
|
||||
onClick={() => handleEdit(record)}
|
||||
>
|
||||
<Button onClick={() => handleEdit(record)} type='link' size='small'>
|
||||
{t('编辑')}
|
||||
</Button>
|
||||
<Popconfirm
|
||||
title={t('确定删除该档位吗?')}
|
||||
onConfirm={() => handleDelete(record.id)}
|
||||
>
|
||||
<Button size='small' type='danger' icon={<IconDelete />}>
|
||||
<Button type='link' size='small' danger>
|
||||
{t('删除')}
|
||||
</Button>
|
||||
</Popconfirm>
|
||||
|
||||
Reference in New Issue
Block a user