File tree 1 file changed +6
-12
lines changed
km-console/packages/layout-clusters-fe/src/pages/MutliClusterPage
1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -524,19 +524,13 @@ const ConnectorForm = (props: {
524
524
id : initFieldsValue ?. id ,
525
525
jmxProperties : values . jmxProperties ? `{ "jmxPort": "${ values . jmxProperties } " }` : undefined ,
526
526
} ;
527
- Utils . put ( api . batchConnectClusters , [ params ] )
528
- . then ( ( res ) => {
529
- // setSelectedTabKey(undefined);
530
- getConnectClustersList ( ) ;
531
- notification . success ( {
532
- message : '修改Connect集群成功' ,
533
- } ) ;
534
- } )
535
- . catch ( ( error ) => {
536
- notification . success ( {
537
- message : '修改Connect集群失败' ,
538
- } ) ;
527
+ Utils . put ( api . batchConnectClusters , [ params ] ) . then ( ( res ) => {
528
+ // setSelectedTabKey(undefined);
529
+ getConnectClustersList ( ) ;
530
+ notification . success ( {
531
+ message : '修改Connect集群成功' ,
539
532
} ) ;
533
+ } ) ;
540
534
} ;
541
535
542
536
const onCancel = ( ) => {
You can’t perform that action at this time.
0 commit comments