feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等

This commit is contained in:
zhanjunhao
2026-11-10 17:27:36 +08:00
parent 5463a0c772
commit ed9820e6a6
195 changed files with 3546 additions and 1984 deletions
@@ -30,13 +30,7 @@ import {
Checkbox,
Tag,
} from '@/components/ui';
import {
IconDelete,
IconPlus,
IconSearch,
IconSave,
IconEdit,
} from '@/components/ui/icons';
import { IconPlus, IconSearch, IconSave } from '@/components/ui/icons';
import { API, showError, showSuccess, getQuotaPerUnit } from '../../../helpers';
import { useTranslation } from 'react-i18next';
@@ -237,16 +231,17 @@ export default function ModelSettingsVisualEditor(props) {
key: 'action',
render: (_, record) => (
<Space>
<Button onClick={() => editModel(record)} type='link' size='small'>
{t('编辑')}
</Button>
<Button
type='primary'
icon={<IconEdit />}
onClick={() => editModel(record)}
></Button>
<Button
icon={<IconDelete />}
type='danger'
onClick={() => deleteModel(record.name)}
/>
type='link'
size='small'
danger
>
{t('删除')}
</Button>
</Space>
),
},