[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, 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集群失败',
});
}); });
});
}; };
const onCancel = () => { const onCancel = () => {