style: adjust some styles

This commit is contained in:
jialin
2025-11-18 13:30:58 +08:00
parent 78c8b60121
commit e85d59dfb0
8 changed files with 60 additions and 84 deletions
+1 -9
View File
@@ -5,13 +5,11 @@ import { useIntl } from '@umijs/max';
import { Form } from 'antd';
import _ from 'lodash';
import { useMemo } from 'react';
import { DeployFormKeyMap, modelCategories } from '../config';
import { modelCategories } from '../config';
import { backendOptionsMap } from '../config/backend-parameters';
import { useFormContext } from '../config/form-context';
import { FormData } from '../config/types';
import BackendForm from './backend';
import BackendParametersList from './backend-parameters-list';
import CustomBackend from './custom-backend';
const AdvanceConfig = () => {
const intl = useIntl();
@@ -64,12 +62,6 @@ const AdvanceConfig = () => {
options={modelCategories}
></SealSelect>
</Form.Item>
{formKey === DeployFormKeyMap.CATALOG && (
<>
<BackendForm></BackendForm>
<CustomBackend></CustomBackend>
</>
)}
<BackendParametersList></BackendParametersList>
<Form.Item<FormData> name="env">