diff --git a/react-ui/src/pages/AutoML/components/CreateForm/ExecuteConfigDLC.tsx b/react-ui/src/pages/AutoML/components/CreateForm/ExecuteConfigDLC.tsx deleted file mode 100644 index 6b2c63e6..00000000 --- a/react-ui/src/pages/AutoML/components/CreateForm/ExecuteConfigDLC.tsx +++ /dev/null @@ -1,261 +0,0 @@ -import CodeSelect from '@/components/CodeSelect'; -import ResourceSelect, { - requiredValidator, - ResourceSelectorType, -} from '@/components/ResourceSelect'; -import { MinusCircleOutlined, PlusCircleOutlined } from '@ant-design/icons'; -import { Button, Col, Flex, Form, Input, InputNumber, Radio, Row, Select } from 'antd'; -import styles from './index.less'; - -type ExecuteConfigDLCProps = { - disabled?: boolean; -}; - -function ExecuteConfigDLC({ disabled = false }: ExecuteConfigDLCProps) { - return ( - <> - - - - - - - - - - - - - - - - - - - - - - - - - - 官方镜像 - 自定义镜像 - 镜像地址 - - - - - - - - {({ getFieldValue }) => { - const imageType = getFieldValue('image_type'); - if (imageType === 1 || imageType === 2) { - return ( - - - - ); - } - }} - - - - - - - - - - - - - - - {(fields, { add, remove }) => ( - <> - {fields.map(({ key, name, ...restField }, index) => ( - - - - - : - - - -
- - {index === fields.length - 1 && ( - - )} -
-
- ))} - {fields.length === 0 && ( - - - - )} - - )} -
-
- -
- - - - - - - - - ); -} - -export default ExecuteConfigDLC; diff --git a/react-ui/src/pages/AutoML/components/CreateForm/ExecuteConfigMC.tsx b/react-ui/src/pages/AutoML/components/CreateForm/ExecuteConfigMC.tsx deleted file mode 100644 index 8f8b7078..00000000 --- a/react-ui/src/pages/AutoML/components/CreateForm/ExecuteConfigMC.tsx +++ /dev/null @@ -1,82 +0,0 @@ -import KFIcon from '@/components/KFIcon'; -import { MinusCircleOutlined, PlusCircleOutlined } from '@ant-design/icons'; -import { Button, Col, Flex, Form, Input, Row } from 'antd'; -import styles from './index.less'; - -type ExecuteConfigMCProps = { - disabled?: boolean; -}; - -function ExecuteConfigMC({ disabled = false }: ExecuteConfigMCProps) { - return ( - <> - - {(fields, { add, remove }) => ( - <> - - - - - -
- -
Key
-
命令
-
操作
-
- - {fields.map(({ key, name, ...restField }, index) => ( - - cmd{index + 1} - - - -
- - {index === fields.length - 1 && ( - - )} -
-
- ))} - {fields.length === 0 && ( -
- -
- )} -
- - )} -
- - ); -} - -export default ExecuteConfigMC; diff --git a/react-ui/src/pages/AutoML/components/CreateForm/SearchConfig.tsx b/react-ui/src/pages/AutoML/components/CreateForm/SearchConfig.tsx deleted file mode 100644 index 255a6657..00000000 --- a/react-ui/src/pages/AutoML/components/CreateForm/SearchConfig.tsx +++ /dev/null @@ -1,119 +0,0 @@ -import SubAreaTitle from '@/components/SubAreaTitle'; -import { Col, Form, InputNumber, Row, Select, Switch } from 'antd'; -function SearchConfig() { - return ( - <> - - - - - - - - - - - - - - - - - - -
只允许上传 .csv 格式文件
-
-
- - ); -} - -export default UploadConfig;