diff --git a/frontend/src/pages/Deploy/Environment/List/components/EnvironmentModal.tsx b/frontend/src/pages/Deploy/Environment/List/components/EnvironmentModal.tsx index a1b8b1a1..e8fe9aff 100644 --- a/frontend/src/pages/Deploy/Environment/List/components/EnvironmentModal.tsx +++ b/frontend/src/pages/Deploy/Environment/List/components/EnvironmentModal.tsx @@ -11,20 +11,6 @@ interface EnvironmentModalProps { initialValues?: Environment; } -const {Option} = Select; - -const buildTypeOptions = [ - {label: 'Jenkins构建', value: BuildTypeEnum.JENKINS}, - {label: 'GitLab Runner构建', value: BuildTypeEnum.GITLAB_RUNNER}, - {label: 'GitHub Action构建', value: BuildTypeEnum.GITHUB_ACTION}, -]; - -const deployTypeOptions = [ - {label: 'Kubernetes集群部署', value: DeployTypeEnum.K8S}, - {label: 'Docker容器部署', value: DeployTypeEnum.DOCKER}, - {label: '虚拟机部署', value: DeployTypeEnum.VM}, -]; - const EnvironmentModal: React.FC = ({ visible, onCancel, @@ -105,18 +91,6 @@ const EnvironmentModal: React.FC = ({ - -