File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
km-console/packages/layout-clusters-fe/src/pages/MutliClusterPage Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -537,7 +537,7 @@ const ConnectorForm = (props: {
537537 setSelectedTabKey ( undefined ) ;
538538 try {
539539 const jmxPortInfo = JSON . parse ( initFieldsValue . jmxProperties ) || { } ;
540- form . setFieldsValue ( { ...initFieldsValue , jmxProperties : jmxPortInfo . jmxProperties } ) ;
540+ form . setFieldsValue ( { ...initFieldsValue , jmxProperties : jmxPortInfo . jmxPort } ) ;
541541 } catch {
542542 form . setFieldsValue ( { ...initFieldsValue } ) ;
543543 }
@@ -546,7 +546,7 @@ const ConnectorForm = (props: {
546546 useLayoutEffect ( ( ) => {
547547 try {
548548 const jmxPortInfo = JSON . parse ( initFieldsValue . jmxProperties ) || { } ;
549- form . setFieldsValue ( { ...initFieldsValue , jmxProperties : jmxPortInfo . jmxProperties } ) ;
549+ form . setFieldsValue ( { ...initFieldsValue , jmxProperties : jmxPortInfo . jmxPort } ) ;
550550 } catch {
551551 form . setFieldsValue ( { ...initFieldsValue } ) ;
552552 }
You can’t perform that action at this time.
0 commit comments