[Bugfix]去除编辑connect失败多余的提示信息(#1044)

This commit is contained in:
erge
2023-09-10 22:31:20 +08:00
parent 18e00f043e
commit b60941abc8

View File

@@ -524,19 +524,13 @@ const ConnectorForm = (props: {
id: initFieldsValue?.id,
jmxProperties: values.jmxProperties ? `{ "jmxPort": "${values.jmxProperties}" }` : undefined,
};
Utils.put(api.batchConnectClusters, [params])
.then((res) => {
// setSelectedTabKey(undefined);
getConnectClustersList();
notification.success({
message: '修改Connect集群成功',
});
})
.catch((error) => {
notification.success({
message: '修改Connect集群失败',
});
Utils.put(api.batchConnectClusters, [params]).then((res) => {
// setSelectedTabKey(undefined);
getConnectClustersList();
notification.success({
message: '修改Connect集群成功',
});
});
};
const onCancel = () => {