mirror of
https://github.com/didi/KnowStreaming.git
synced 2025-12-24 03:42:07 +08:00
[Bugfix]去除编辑connect失败多余的提示信息(#1044)
This commit is contained in:
@@ -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 = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user