remove namespaceShowName uniqueness check (#8989)

This commit is contained in:
chenhao26 2022-08-18 11:11:52 +08:00 committed by GitHub
parent 87d9efde2d
commit bdf9d04ead
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 12 deletions

View File

@ -101,13 +101,6 @@ class NewNameSpace extends React.Component {
const { locale = {} } = this.props;
this.field.validate((errors, values) => {
if (errors) return;
const flag = this.state.dataSource.every(
val => val.namespaceShowName !== values.namespaceShowName
);
if (!flag) {
Dialog.alert({ content: locale.norepeat });
return;
}
this.disabled = true;
this.setState({
disabled: true,

View File

@ -35,7 +35,7 @@
<link rel="stylesheet" type="text/css" href="console-ui/public/css/icon.css">
<link rel="stylesheet" type="text/css" href="console-ui/public/css/font-awesome.css">
<!-- 第三方css结束 -->
<link href="./css/main.css?8b47f7d064161d948b8c" rel="stylesheet"></head>
<link href="./css/main.css?d55d0acbe80d224a66fe" rel="stylesheet"></head>
<body>
<div id="root" style="overflow:hidden"></div>
@ -56,6 +56,6 @@
<script src="console-ui/public/js/merge.js"></script>
<script src="console-ui/public/js/loader.js"></script>
<!-- 第三方js结束 -->
<script type="text/javascript" src="./js/main.js?8b47f7d064161d948b8c"></script></body>
<script type="text/javascript" src="./js/main.js?d55d0acbe80d224a66fe"></script></body>
</html>

File diff suppressed because one or more lines are too long