From 89f7c347246f83ad58256a540c2186758b0569ff Mon Sep 17 00:00:00 2001 From: harrisonliu5 Date: Fri, 19 Jun 2020 14:39:33 +0800 Subject: [PATCH] fix: fix some issues there are 436,438,444,445,449 --- src/components/Modals/DevOpsCreate/index.jsx | 17 +++++++++++++++-- src/components/Modals/DevOpsEdit/index.jsx | 10 ++++++++-- src/components/Modals/ProjectSelect/index.jsx | 4 +++- src/locales/en/base.js | 1 + src/locales/zh/base.js | 1 + .../Pipeline/StepModals/withCredentials.jsx | 4 ++-- src/pages/devops/components/Pipeline/store.js | 3 +++ src/pages/devops/containers/Pipelines/index.jsx | 1 + src/pages/devops/containers/Roles/index.jsx | 2 +- src/utils/constants.js | 1 + 10 files changed, 36 insertions(+), 8 deletions(-) diff --git a/src/components/Modals/DevOpsCreate/index.jsx b/src/components/Modals/DevOpsCreate/index.jsx index 9b5ae9d72c4..b2e52f163b6 100644 --- a/src/components/Modals/DevOpsCreate/index.jsx +++ b/src/components/Modals/DevOpsCreate/index.jsx @@ -23,7 +23,11 @@ import PropTypes from 'prop-types' import { Columns, Column, Select, Input, TextArea } from '@pitrix/lego-ui' import { Modal, Form } from 'components/Base' import ClusterTitle from 'components/Clusters/ClusterTitle' -import { PATTERN_SERVICE_NAME, PATTERN_LENGTH_63 } from 'utils/constants' +import { + PATTERN_SERVICE_NAME, + PATTERN_LENGTH_63, + PATTERN_LENGTH_1000, +} from 'utils/constants' import WorkspaceStore from 'stores/workspace' @@ -172,7 +176,16 @@ export default class ProjectCreateModal extends React.Component { )} - +