disable check port input when use registered port (#10799)
This commit is contained in:
parent
556e4ccd58
commit
3374cf4610
@ -141,12 +141,15 @@ class EditClusterDialog extends React.Component {
|
||||
className="in-text"
|
||||
value={defaultCheckPort}
|
||||
onChange={defaultCheckPort => this.onChangeCluster({ defaultCheckPort })}
|
||||
disabled={useIPPort4Check}
|
||||
/>
|
||||
</Form.Item>
|
||||
<Form.Item label={`${useIpPortCheck}`}>
|
||||
<Switch
|
||||
checked={useIPPort4Check}
|
||||
onChange={useIPPort4Check => this.onChangeCluster({ useIPPort4Check })}
|
||||
onChange={useIPPort4Check => {
|
||||
this.onChangeCluster({ useIPPort4Check });
|
||||
}}
|
||||
/>
|
||||
</Form.Item>
|
||||
{type === 'HTTP' && [
|
||||
|
@ -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?17a33926721c99af1059" rel="stylesheet"></head>
|
||||
<link href="./css/main.css?16f22c0c56795bc26e9a" 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?17a33926721c99af1059"></script></body>
|
||||
<script type="text/javascript" src="./js/main.js?16f22c0c56795bc26e9a"></script></body>
|
||||
|
||||
</html>
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user