mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-10 09:04:26 +08:00
[Bugfix]去除编辑connect失败多余的提示信息(#1044)
This commit is contained in:
@@ -524,18 +524,12 @@ const ConnectorForm = (props: {
|
|||||||
id: initFieldsValue?.id,
|
id: initFieldsValue?.id,
|
||||||
jmxProperties: values.jmxProperties ? `{ "jmxPort": "${values.jmxProperties}" }` : undefined,
|
jmxProperties: values.jmxProperties ? `{ "jmxPort": "${values.jmxProperties}" }` : undefined,
|
||||||
};
|
};
|
||||||
Utils.put(api.batchConnectClusters, [params])
|
Utils.put(api.batchConnectClusters, [params]).then((res) => {
|
||||||
.then((res) => {
|
|
||||||
// setSelectedTabKey(undefined);
|
// setSelectedTabKey(undefined);
|
||||||
getConnectClustersList();
|
getConnectClustersList();
|
||||||
notification.success({
|
notification.success({
|
||||||
message: '修改Connect集群成功',
|
message: '修改Connect集群成功',
|
||||||
});
|
});
|
||||||
})
|
|
||||||
.catch((error) => {
|
|
||||||
notification.success({
|
|
||||||
message: '修改Connect集群失败',
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user