feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等
This commit is contained in:
@@ -34,7 +34,7 @@ import {
|
||||
Switch,
|
||||
Typography,
|
||||
} from '@/components/ui';
|
||||
import { IconPlus, IconDelete, IconEdit } from '@/components/ui/icons';
|
||||
import { IconPlus, IconDelete } from '@/components/ui/icons';
|
||||
import { API, showError, showSuccess } from '../../../helpers';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
@@ -373,15 +373,19 @@ export default function SettingVideoModel(props) {
|
||||
render: (text, record, index) => (
|
||||
<Space>
|
||||
<Button
|
||||
icon={<IconEdit />}
|
||||
size='small'
|
||||
onClick={() => handleEditPricing(record, index)}
|
||||
/>
|
||||
type='link'
|
||||
size='small'
|
||||
>
|
||||
{t('编辑')}
|
||||
</Button>
|
||||
<Popconfirm
|
||||
title={t('确定要删除此定价配置吗?')}
|
||||
onConfirm={() => handleDeletePricing(index)}
|
||||
>
|
||||
<Button icon={<IconDelete />} size='small' type='danger' />
|
||||
<Button type='link' size='small' danger>
|
||||
{t('删除')}
|
||||
</Button>
|
||||
</Popconfirm>
|
||||
</Space>
|
||||
),
|
||||
@@ -450,15 +454,19 @@ export default function SettingVideoModel(props) {
|
||||
render: (text, record, index) => (
|
||||
<Space>
|
||||
<Button
|
||||
icon={<IconEdit />}
|
||||
size='small'
|
||||
onClick={() => handleEditModel(record, index)}
|
||||
/>
|
||||
type='link'
|
||||
size='small'
|
||||
>
|
||||
{t('编辑')}
|
||||
</Button>
|
||||
<Popconfirm
|
||||
title={t('确定要删除此模型吗?')}
|
||||
onConfirm={() => handleDeleteModel(index)}
|
||||
>
|
||||
<Button icon={<IconDelete />} size='small' type='danger' />
|
||||
<Button type='link' size='small' danger>
|
||||
{t('删除')}
|
||||
</Button>
|
||||
</Popconfirm>
|
||||
</Space>
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user