remove namespaceShowName uniqueness check (#8989)
This commit is contained in:
parent
87d9efde2d
commit
bdf9d04ead
@ -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,
|
||||
|
@ -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
Loading…
Reference in New Issue
Block a user