Skip to content

Commit

Permalink
disable check port input when use registered port (#10799)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joey777210 authored Jul 17, 2023
1 parent 556e4cc commit 3374cf4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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' && [
Expand Down
4 changes: 2 additions & 2 deletions console/src/main/resources/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Loading

0 comments on commit 3374cf4

Please sign in to comment.